CLI Reference
Technical documentation for the @cortlet-org/env-vault command-line interface. Use these commands to manage your identity-based secrets and local execution environments.
Usage Overview
⚡ @cortlet-org/env-vault v1.0.0 | Cortlet Sovereign Security
-i <path> Specify identity folder (optional)
lock Sync .env to vault
run -- <cmd> Execute with secrets
allow <pubkey> Grant access to others
Commands
lock
Syncs the plain-text .env file into the encrypted .env.vault.
npx @cortlet-org/env-vault lock
run -- <cmd>
The primary command for local development.
# Inject secrets into a process
npx @cortlet-org/env-vault run -- node app.js
# Run with a teammate identity
npx @cortlet-org/env-vault -i ./their_keys_folder run -- node app.js
allow <pubkey>
Authorizes a new SSH identity to access the vault.
npx @cortlet-org/env-vault allow ./teammate_id_rsa.pub
The Double Dash Syntax
When using the run command, the -- (double dash) is mandatory. It acts as a delimiter, ensuring that all subsequent flags are passed directly to your application.