config
Command: vlt config
The config
command displays the organization ID, project ID and the
application name that the CLI is currently configured to target. If
flags are specified it will update the current config.
Examples
Example output:
If no config has been found, the user will be prompted to run vlt config init
.
The example shows that the CLI is currently pointing to the vault-edu-secrets
application.
To update config values the user can provide a flag to override the value.
Example output:
If the app name can't be verified the message will reflect that.
Tip
The CLI will verify any values that are being updated and will not update if an organization id, project id or app name provided can't be validated.
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.