appliance techpreview monitoring snmp: SNMP hash config

SNMP_hash_config structure Structure to provide up to two secrets to combine with the SNMPv3 engine ID and authentication or privacy protocol to form a localized hash. auth_hash is always required, priv_hash can be empty. By default arguments are paths on the local filesystem, raw_secret takes path to be the actual raw secret. First implementation was in ESXi: esxcli system snmp hash --help

Representations:

{
    "auth_hash""string",
    "priv_hash""string",
    "raw_secret"true
}
<?xml version="1.0" ?>
<ns0:SNMPHashConfig xmlns:ns0="http://vmware.com/appliance/techpreview/monitoring/snmp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <raw_secret>true</raw_secret>
  <auth_hash>string</auth_hash>
  <priv_hash>string</priv_hash>
</ns0:SNMPHashConfig>

Attributes:

Name Type Description
Required
auth_hash string Provide filename to secret for authentication hash, use in set --users (required secret)

priv_hash string Provide filename to secret for privacy hash, use in set --users (secret)

raw_secret boolean Make --auth_path and --priv_path flags read raw secret from command line instead of file.