Overview
A small secret manager for people and their coding agents, with the command elbab. It encrypts secrets with age and keeps the key in the operating system's vault: the macOS Keychain or Secure Enclave, a Linux TPM or GNOME Keyring/KWallet, or Windows DPAPI. A YubiKey or a password-manager command also works. `elbab run openai -- python app.py` puts the values into the program's environment and never writes them to a file. When elbab detects an agent shell (CLAUDECODE, AI_AGENT or CODEX_* variables set), it masks the values, and the included skill/SKILL.md tells agents to use run so that they never see the secret. It can also protect files already on disk: SSH keys, ~/.aws/credentials (through credential_process), gcloud and az logins, .env files, and any folder up to 256 MB. `elbab scan` lists secret names, never values. The README is honest about its limits: anything running as you can still call elbab, so it protects copies such as backups, sync, transcripts and other accounts, not an account that is already compromised. It also recommends full-disk encryption, because SSDs can keep old blocks. Needs Python 3.9+ and age 1.2+. Licence MIT. 263 stars on GitHub (created 2026-11-04).
Quick summary. This page gives a short overview of this tool. For installation steps, full documentation and the latest changes, read the official source; details such as features and versions can change there first.
Example prompts example
Illustrative examples written by FoxaMind's AI Trends Scout — not quoted from the source.
- elbab set-key openai OPENAI_API_KEY, then elbab run openai -- python app.py; move the recovery file offline after init.