Use the PASM CLI create-ssh-key-secret command to create an SSH key-based secret within the specified box in your Cryptographic Security Platform Vault for Secrets.
Syntax
pasmcli create-ssh-key-secret [options]
Option | Description |
-h or --help | Displays usage text. |
-b or --boxid string | The name or ID of the box where the secret will be created. |
-d or --description string | A short description of the secret. |
-x or --exclusive-checkout string {enable|disable} | If this flag is set, all secret checkouts will be exclusive. Important: If this property is set in a secret, it takes precedence over the property being set in a box. |
-e or --expires_at string | The expiration time in RFC 3339 format. |
-H or --host string | The SSH endpoint IP address or host name. |
-K, --key-file string | The private key file for SSH endpoint access. |
-W, --key-pwd string | The passphrase of private key, if encrypted. |
-l or --lease-duration string | The lease duration to enforce for this secret. The duration must be in ISO 8601 format. For example, P1M15DT12H30M. Important: If this property is set in a secret, it takes precedence over the property being set in a box. |
-L, --lease-renewable string | Reserved for future use. |
-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. |
-n or --name string | Short description for the Secret. |
-P, --port int | The SSH port. |
-t, --tagkey stringArray | Tag key to associate with the Secret. This option is repeatable. |
-v, --tagvalue stringArray | Tag value to associate with the Secret. This option is repeatable. |
-U, --user string | The SSH user name. |