One encrypted file, one password only you know, and a CLI that gets your keys in and out without ever leaving them lying around. No account. No server. No cloud sync to worry about.
# one command and you're in
pip install microvault
microvault
Features
MicroVault stores every API key in one encrypted file and gets it in and out of your shell without it ever sitting in plaintext on disk.
Adding a key is a hidden prompt, same as typing a password โ it never echoes, never lands in your shell history.
openai, aws, that-weird-internal-tool โ no fixed list to fight with.
Parses NAME=value, NAME: value, NAME value, even export NAME=value โ and shows you exactly what it parsed before touching your vault.
eval "$(microvault env)" โ every stored key becomes a real environment variable for that session, gone the moment you close the terminal.
Tools expect odd names (WPSCAN_API_TOKEN, VTCLI_APIKEY, GH_TOKEN). alias maps MicroVault's name to whatever that tool actually wants.
microvault runUnlocks the vault, injects the key, and replaces itself with the real command โ one line instead of the eval + run dance. Ideal for MCP servers spawned as subprocesses.
from microvault import vault โ vault.get("openai") reads the same encrypted file the CLI uses. No server, no daemon.
The interactive vault opens directly into a navigable action menu; prompts collect service names, aliases, paths, and profiles after each selection.
What's actually happening under the hood
MicroVault isn't a text file with a fancy name. It's a proper encrypted vault, and it's built so that losing the password means the keys are actually gone โ for anyone, including us.
restore away$ microvault Master password: ******** Choose a command: Add a key Service name: openai API Key (input hidden): โขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโข Saved openai. $ eval "$(microvault env)" OPENAI_API_KEY exported. Forgot the password? Nobody can recover it โ that's the deal for real security.
Start in 60 seconds
pip install microvault
Then run microvault. First run asks you to set a master password.
Choose Add a key in the interactive menu.
Paste the key at the hidden prompt. It never touches your screen or shell history.
eval "$(microvault env)"
Every stored key becomes a real env var for that session only.
Using a stored key with any tool
A lot of real tools expect a specific env var name that isn't the obvious one. alias bridges MicroVault's naming to whatever that tool actually expects.
Or skip the eval + run dance entirely โ microvault run unlocks the vault, injects the key, and replaces itself with the real command. The key is never written to disk, never shown on screen, and lives only as long as the process does:
Adaptive integration
MicroVault is a standalone encrypted CLI with a supported MeXiCOSINT integration: MeXiCOSINT can detect it automatically and pull its five service keys without an unencrypted config file.
If you use MeXiCOSINT for Mexican phone number OSINT, run microvault, choose Add a key five times, and store these exact service names:
Then create the supported mexicosint profile, so MeXiCOSINT only ever sees its own five keys โ never the rest of your vault:
MeXiCOSINT detects MicroVault and the supported mexicosint profile automatically on launch โ no flag, no config file to edit, nothing in plaintext.
Storage
~/.microvault/~/.microvault/ โ one encrypted vault, non-secret metadata, and a rolling encrypted backup.
Set MICROVAULT_HOME and the vault follows you there.
vault.get("openai"), vault.env_name("github"), vault.list() โ password prompt fires once per process, then reuses the in-memory session.