run command exposes your application's secrets as environment variables.
It uses the secret's name in all upper case to set the environment variables.
The logs and exit codes from the command are forwarded to the run output.
run command runs a process while injecting secrets as an environment
$ vlt run --command="env" 2023/05/23 15:44:47 [INFO] (child) spawning: env ...snipped... EXPIRATION=October 2024
The command looks up the secrets stored in the application currently configured
vlt init. To point to a different application, project or organization,
--organization to overwrite the current
$ vlt run [options]
(string: "")- Defines the invocation of the child process to inject secrets to. Use
-cfor its shorthand.
(string: "")- HCP organization that the App is in. Use
-ofor its shorthand.
(string: "")- HCP project that the application is in. Use
-pfor its shorthand.
(string: "")- The application you want to pull all secrets from. Use
-afor its shorthand