secrets versions
Command: vlt secrets versions
The secrets versions
command returns the last 10 versions of secrets for a
given application.
Examples
Retrieve available versions of a secret named "expiration" stored under the "company-card" application.
Tip
If the CLI is already configured to point to the "company-card" application via
vlt config init
, you can omit the --app-name
parameter.
Example output:
Usage
Command options
--organization
(string: "")
- HCP organization that the application is in. Use-o
for its shorthand.--project
(string: "")
- HCP project that the application is in. Use-p
for its shorthand.--app-name
(string: "")
- The application that the secret is in. Use-a
for its shorthand.--format
(string: "")
- The output format you would like (json). Use-f
for its shorthand.