secrets update
Command: vlt secrets update
The secrets update
command updates a secret in the target application.
Examples
Update the value of the secret named "expiration" with value of "August 2025" in
the company-card
application.
Tip
In the absence of --app-name
parameter, the command will update secrets under
the currently configured application. You can run the vlt config
command to
see which application is targeted.
This creates a new version of the secret.
The Latest Version number should be incremented.
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.