vlt secrets versions
secrets versions command returns the last 10 versions of secrets for a
Retrieve available versions of a secret named "expiration" stored under the "company-card" application.
$ vlt secrets versions --app-name="company-card" expiration
If the CLI is already configured to point to the "company-card" application via
vlt config init, you can omit the
Version Created At Created By 4 2023-05-23T00:07:17.774Z learn-hcp 3 2023-05-23T00:07:13.002Z learn-hcp 2 2023-05-23T00:00:20.590Z learn-hcp 1 2023-05-22T23:26:04.680Z learn-hcp
$ vlt secrets versions [options] secret_name
(string: "")- HCP organization that the application is in. Use
-ofor its shorthand.
(string: "")- HCP project that the application is in. Use
-pfor its shorthand.
(string: "")- The application that the secret is in. Use
-afor its shorthand.
(string: "")- The output format you would like (json). Use
-ffor its shorthand.