HashiCorp Cloud Platform
hcp vault-secrets secrets versions list
Command: hcp vault-secrets secrets versions list
The hcp vault-secrets secrets versions list
command lists all versions for a
secret under a Vault Secrets application.
Usage
$ hcp vault-secrets secrets versions list NAME [Optional Flags]
Examples
List all versions of a secret under the Vault Secrets application on active profile:
$ hcp vault-secrets secrets versions test_secret
List all versions of a secret under the specified Vault Secrets application:
$ hcp vault-secrets secrets versions test_secret --app test-app
Positional arguments
NAME
- The name of the secret.
Inherited Flags
--app=NAME
- The name of the Vault Secrets application. If not specified, the value from the active profile will be used.