HashiCorp Cloud Platform
hcp vault-secrets secrets rotate
Command: hcp vault-secrets secrets rotate
The hcp vault-secrets secrets rotate
command rotates a rotating secret from
the Vault Secrets application.
Usage
$ hcp vault-secrets secrets rotate NAME [Optional Flags]
Examples
Rotate a secret:
$ hcp vault-secrets secret rotate "test_secret"
Rotate a secret under the specified Vault Secrets application:
$ hcp vault-secrets secret rotate "test_secret" --app test-app
Positional arguments
NAME
- The name of the secret to rotate.
Inherited Flags
--app=NAME
- The name of the Vault Secrets application. If not specified, the value from the active profile will be used.