Use the PASM CLI put-ssh-key-secret-value command to replace an existing SSH key-based secret with a new secret value.
Syntax
pasmcli put-ssh-key-secret-value [options]
Option | Description |
-h or --help | Displays usage text. |
-b or --boxid string | The name or ID of the box where the secret is stored. |
-H or --host string | The SSH endpoint IP/hostname. |
-K, --key-file string | The private key file for SSH endpoint access. |
-W, --key-pwd string | The passphrase of private key, if encrypted. |
-B, --master-boxid string | Optional. The Box ID or name of the master secret. |
-I or --master-secretid string | Optional. The master secret ID or name. |
-P, --port int | The SSH port. |
-s, --secretid string | The ID or name of the Secret. |
-U, --user string | The SSH user name. |