LockBox CLI - Secure, End-to-End Encrypted Secret Management
npm install locknkeylocknkey run ...).
bash
npm install -g locknkey
`
Getting Started
1. Login: Authenticate with your Lockbox account (requires Google Sign-In via browser).
`bash
locknkey login
`
2. Initialize Session: Unlock your local vault with your Google Authenticator Code. This derives your session keys.
`bash
locknkey init
`
3. View Status: Check your login status.
`bash
locknkey --show
# Or view details:
locknkey --show --org
locknkey --show --proj
`
4. Run with Secrets: Execute any command with secrets injected for a specific project.
`bash
# Usage: locknkey run --
# Example: Run 'npm run dev' with secrets from 'project1' (dev environment)
locknkey run project1 -- npm run dev
# Specify environment:
locknkey run project1 -s -- npm start # Staging
locknkey run project1 -p -- npm start # Production
`
Security
* Encryption: Uses NaCl` (TweetNaCl) for high-speed, high-security cryptography.