For developers
One line to read a key.
Your code asks allkeys for a key by name and gets it, locked end to end, signed for with an SSH key. No .env file to copy around, nothing written to disk.
Pick your language
The same call everywhere.
export OPENAI_API_KEY=$(allkeys get OPENAI_API_KEY)from allkeys import key; api_key = key("OPENAI_API_KEY")const apiKey = await require("allkeys.app").key("OPENAI_API_KEY")apiKey := allkeys.MustKey("OPENAI_API_KEY")$apiKey = Allkeyskey('OPENAI_API_KEY');api_key = Allkeys.key("OPENAI_API_KEY")String apiKey = Allkeys.key("OPENAI_API_KEY");var apiKey = Allkeys.Key("OPENAI_API_KEY");$env:OPENAI_API_KEY = allkeys get OPENAI_API_KEYProject and environment come from an allkeys.toml in the repo, or from ALLKEYS_PROJECT and ALLKEYS_ENV. The SSH key comes from ALLKEYS_SSH_KEY or the default path.
Set up a machine
Make an access key for this machine, add it in the vault, and choose which keys it may read, in which project and environment, and until when.
$ allkeys init # makes ~/.allkeys/id_ed25519 (or use a key you already have) $ allkeys login
Run with every key loaded
allkeys run puts every key granted to this project into the command's environment. Keys are cached in memory for 5 minutes by default.
$ allkeys run --project shop -- npm start # or one key: $ allkeys get STRIPE_SECRET_KEY
allkeys.toml
Commit it with your code. It holds names only, never a value.
project = "shop" env = "dev"
CI runners
Give each runner its own access key, read-only, for one project and one environment. Store the private half as a CI secret; remove the access key in the vault to cut it off.
$ ALLKEYS_ENV=prod allkeys run -- ./deploy.shCoding agents (MCP)
Agents ask by name, never by paste.
Add the local MCP server to your agent. On first use a browser window opens: you sign in and type your vault passphrase there, never in the agent, and choose which keys it may use and for how long (8 hours by default).
$ npx -y allkeys.app mcplist_keys: names and details, never valuesget_key: a value inside the scope you allowed; production keys can ask you for a clickadd_key: locked on your machine first, then waits in "Added by agent"rotate_key: starts a rotation where the provider allows it
Move your .env files into the vault.
Paste a .env file and allkeys sorts the keys by provider and project.