Capykeys · macOS menu bar
Your keys, one keystroke away.
A native macOS menu bar vault for API keys. Hardware-backed Keychain storage, biometric unlock, a terminal companion, and zero Electron. Secrets stay local; you stay fast.
$ brew install --cask bakdotdev/tap/capykeys
The management window — searchable list left, key detail right.
What it does
A vault that understands how developers actually store keys.
Multi-field credentials
Capability
capy:// references
Capability
Smart env var names
Capability
Tags and labels
Capability
How it works
Three surfaces, one source of truth.
Menu bar
Terminal
capy resolves secrets into env vars, injects them into child processes, and prints references for scripts.References
capy:// links in docs and dotfiles. They only resolve on your machine, after Touch ID.Why it stays out of the way
Out of sight, never out of reach
A key icon in the menu bar, summoned with ⌃⌥⌘C from anywhere. No dock icon, no window chrome.
Hardware-backed, nothing in cleartext
Secrets live in the macOS Keychain, never on disk. Metadata stays in a local JSON file with no secrets.
Biometric gate
Copy and reveal go through Touch ID or Apple Watch. Every access is a deliberate, authenticated act.
A clipboard that forgets
Copies are concealed from clipboard managers and wiped after 45 seconds so secrets don't linger.
Strictly local
No sync, no analytics, no account. Nothing in your vault is ever sent to us — the only request that carries a key is a validity test you trigger, sent only to that provider.
Moves when you do
Export the vault to a single passphrase-encrypted file (PBKDF2 + AES-GCM) and import it anywhere.
Reveal without leaking
Peek at a truncated head…tail preview of any field without exposing the full value to shoulder surfers.
Rotation nudges
A quiet 11MO · ROTATE? hint appears on keys whose secret hasn't changed in six months.
Featherweight
Pure SwiftUI, roughly 700 KB. Launches at login with a one-click toggle to opt out.
Security model
Metadata and secrets never travel together.
Local metadata
~/Library/Application Support/com.Bakdev.Capykeys/keys.jsonHolds platform names, labels, and tags only. Nothing sensitive.
OS secure vault
Actual secrets are fetched from the macOS Keychain at the millisecond you copy them — and only after biometric authentication succeeds.
Self-healing backup
Every save mirrors metadata into a Keychain item. Delete keys.json and the app silently restores it. Secrets were already safe.
References, not secrets
A terminal companion that keeps secrets out of your dotfiles.
$ curl --proto '=https' --tlsv1.2 -fsSL https://capykeys.sh | sh$ capy get openai # Touch ID → secret on stdout$ capy run -e OPENAI_API_KEY=openai -- npm start$ capy ref openaicapy://openaicapy get openaiPrint a secret after Touch ID verification.
capy run -e KEY=openai -- npm startInject secrets into a child process environment only.
capy envMulti-select picker that emits export lines for your shell.