KeyJar - Find every API key on your laptop and lock it in a vault
by•
KeyJar finds the API keys scattered across your machine and keeps them in one local encrypted vault.
kj scan finds keys in .env files, shell history and agent folders, and groups every copy under one key. kj import stores them, and can swap a .env value for a kj:// reference that is safe to commit. kj run gives the real value to one process.
The CLI is free on macOS and Linux. Pro, a one-time payment, asks you before a coding agent gets a key, and adds a leak check, spend and expiry reminders.

p/iphotron
p/comcent
p/runevr
p/meridian-16
p/google-cloud-platform
p/producthunt
p/reso
p/htmldrag
p/kodlo
p/gatrends
p/beamfy
p/relai-agent-eval-loop
p/kanasensei
p/phanera
p/netfox
p/neoagent
p/transcendence
p/dearcameo
p/deardarling
p/dearinside
Replies
Hey Product Hunt, I'm Keshav, a solo developer.
Before launching I ran KeyJar's own scan on my laptop. It found 179 real API keys and 1,339 plain text copies of them. One key had copies in 105 folders. And 119 of those keys had a copy inside an agent folder like ~/.claude or ~/.cursor, places I never open.
So KeyJar does three things:
kj scan ~ finds every key and groups every copy under one key
kj import stores them in an encrypted vault on your machine. The vault key lives in your OS keychain, and no key is ever sent to KeyJar
your .env holds kj://openai/main instead of the key, and kj run -- npm run dev gives the real value to that one process
Version 1.3 is about never surprising you. Every file is shown as on or off with the reason, production and git-tracked files stay off, and a coding agent can never replace values, delete a key or save a recovery file.
What it can't do: hide a key from the process you give it to, including an agent running as you. The security page says exactly what it does and doesn't protect against: keyjar.dev/security
The CLI is free on macOS and Linux. Pro is a one-time payment and adds the agent guard, the leak check, spend and expiry reminders.
What would make you trust a tool like this with your keys?