resolve_secretLABSCO SUMMARY
Sandboxing the .env is the part that changes behaviour.
Resolving secrets at runtime helps only if the agent stops reading them somewhere else — and the file it reads first is .env. Replacing those values with deterministic fakes while it works closes the obvious hole, and unsandboxing puts the real ones back. Check the tier before planning around a feature: the vault and the sandbox are free, the audit log and sharing are not.
What it is
An encrypted local vault with an MCP front end. Secrets are stored in an encrypted SQLite database and resolved when a command needs them, so the plaintext never lands in a conversation. A sandbox mode rewrites your .env with deterministic fakes, so an agent reading the file finds nothing real.
What you get
- resolve_secret and store_secret — fetch a value at runtime, or encrypt and keep a new one
- list_secrets, which returns names only and never values
- delete_secret for removing one
- sandbox_env and unsandbox_env — swap real .env values for fakes while an agent is working, then restore them
- audit_log for who resolved what and when
- totp_store, totp_code, totp_list and totp_delete for two-factor codes alongside the keys
- create_share_link and receive_share for handing a secret to someone else, encrypted and expiring
- deadman_status and deadman_checkin for a dead man's switch
- sso_status for the single sign-on path
- Backends beyond the local vault: 1Password, Bitwarden, AWS, GCP and Azure, plus plain environment variables
Requirements
Install it, initialise the vault, and let its setup command write your client configuration. It is fully local — no network involved in the default backend. A biometric gate is available on macOS, which requires authenticating before secrets resolve and expires the session after a short window. The free tier caps how many secrets you can keep; the audit log, sharing, dead man's switch, two-factor codes and the biometric gate are paid.
Setup effort
Follow the published steps — npm i -g keyblind
USE CASES
Letting an agent use a key it must never see
Store the secret once and have it resolved at run time, with the value kept out of the transcript.
Working in a repo whose .env is full of real keys
Sandbox the file while the agent works, then restore it afterwards.
Checking what has been accessed
Read the audit trail rather than assuming nothing was resolved.
Getting through a two-factor prompt
Keep the TOTP configuration alongside the key and generate the code when it is asked for.
Sending a credential to a colleague
Create an encrypted link that expires rather than pasting it into chat.
Seeing what is in the vault without opening it
List the names — values are never returned by that call.
16 tools
Listed in project docs. Your client may show a different list.
store_secretlist_secretsdelete_secretsandbox_envunsandbox_envaudit_logtotp_codetotp_storetotp_listtotp_deletecreate_share_linkreceive_sharedeadman_statusdeadman_checkinsso_statusBEFORE YOU INSTALL
What to know first
Tools you get
16 tools named in the project's documentation.
Where it runs
All 5 documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npm i -g keyblind
keyblind initMCP Clients
Claude Code, Cursor, Windsurf, Cline
{
"mcpServers": {
"keyblind": {
"command": "keyblind",
"args": [
"start"
]
}
}
}VS Code
{
"servers": {
"keyblind": {
"command": "keyblind",
"args": [
"start"
]
}
}
}