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 |
-c or --ESXicacert string | Optional. If the |
-H or --ESXihost string | The ESXi host address. Required if the |
-P or --ESXipasswd string | The password for the ESXi host. Required if the |
-U or --ESXiuser string | The ESXi username. Required if the |
-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 |
-I or --master-secretid string | Optional. The master secret ID or name, if the |
-s or --secretid string | The secret ID or name of the secret. Strings must be enclosed in double quotes. |