v0.1.0CLI
•1 min read

Run apps with your secrets from the terminal

CLISecurity
ApiVault CLI terminal interface and command execution
The apivault CLI running with zero-disk secret injection

The first release of the apivault CLI runs your application with secrets injected directly into its process environment, without writing a plaintext .env file to disk.

Shell
npm install -g apivault
apivault login
apivault run -- npm run dev

It also includes:

  • Keys: apivault keys list, add, get, update, and delete.
  • Environment files: apivault env export and apivault env restore for local .env files.
  • Config: apivault config get, set, and list for defaults in ~/.apivault/config.json.
  • Custom vault keys: pass --vault-key, or enter the key at the masked prompt.

Authentication tokens are stored in ~/.apivault/token.json with 0600 file permissions.

Learn more in the CLI documentation.