Pass-CLI stores passwords and API keys locally with AES-256-GCM encryption. It offers a CLI and TUI for developers who want script-friendly, offline credential access.
Overview
Pass-CLI is a password and API key manager aimed at people who work in the terminal. Credentials stay on the machine in an encrypted vault, with optional cloud sync of the encrypted file through rclone.
Encryption uses AES-256-GCM with PBKDF2 key derivation. A 24-word BIP39 recovery phrase can reset vault access if the master password is lost. The master password can integrate with Windows Credential Manager, macOS Keychain, or Linux Secret Service.
Beyond basic storage, the tool supports TOTP codes, vault backup and restore, optional HMAC-signed audit logging, and usage tracking across projects. Output modes such as quiet, field, and masked output help shell scripts consume secrets safely.
A terminal UI provides visual navigation, forms, search, and keyboard shortcuts for credential management. The project also documents env injection and agent-oriented workflows so coding agents can run commands with credentials without exposing secrets in chat or logs.
Install options include Homebrew on macOS and Linux, Scoop on Windows, and single binaries for Windows, macOS, and Linux on amd64 and arm64.
Key features
- AES-256-GCM local vault
- BIP39 recovery phrase
- OS keychain unlock
- Interactive terminal UI
- TOTP and 2FA codes
- Script-friendly output modes
- Optional rclone cloud sync
- AI agent env injection
Use cases
- Terminal credential lookup
- CI and shell automation
- Offline secret storage
- AI agent secret injection
- Cross-device vault sync
Open-source alternative to
1Password“A secure, cross-platform, always-free, and open-source alternative to 1password, bitwarden, etc., Password and API key manager for folks who live in the command line.” source