Run apps with your secrets from the terminal
CLISecurity

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, anddelete. - Environment files:
apivault env exportandapivault env restorefor local.envfiles. - Config:
apivault config get,set, andlistfor 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.