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