Use the PASM CLI put-secret-value command to replace an existing secret with a new value.

Syntax

pasmcli put-secret-value [options]

Option

Description

-h or --help

Displays usage text.

-T or --ESXi-tls-version string

Optional. If the managed-type option is set to ESXiHostAccount, you can use this option to set the TLS version to use while connecting to an ESXi host.

-c or --ESXicacert string

Optional. If the managed-type option is set to ESXiHostAccount, use this option to specify the CA certificate to use while connecting to an ESXi host.

-H or --ESXihost string

The ESXi host address. Required if the managed-type option is set to ESXiHostAccount.

-P or --ESXipasswd string

The password for the ESXi host. Required if the managed-type option is set to ESXiHostAccount.

-U or --ESXiuser string

The ESXi username. Required if the managed-type option is set to ESXiHostAccount.

-b or --boxid string

The name or ID of the box where the secret will be replaced.

-D or --data string

The secret daa used to replace the existing secret.

-X or --datakey stringArray

The key to associate with the secret data.

-Y or --datavalue stringArray

The value that corresponds to specific secret data.

-m or --managed-type string

The type of managed secret. For this release, only ESXiHostAccount is supported.

-B or --master-boxID string

Optional. The box ID or name of the master secret, if the managed-type option is set to ESXiHostAccount.

-I or --master-secretid string

Optional. The master secret ID or name, if the managed-type option is set to ESXiHostAccount.

-s or --secretid string

The secret ID or name of the secret. Strings must be enclosed in double quotes.