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.

Download for macOS$ brew install --cask bakdotdev/tap/capykeys
Keychain-backedTouch IDNo cloudCLI included
Capykeys management window showing the key list, search, and detail view

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

AWS needs an Access Key ID and Secret Access Key. Clerk needs publishable and secret keys. X needs four OAuth 1.0a fields. Capykeys stores them all, named and masked correctly.

capy:// references

Capability

Paste a reference instead of the secret. capy://openai resolves to the right field only on your machine, only after biometric verification.

Smart env var names

Capability

capy env exports OPENAI_API_KEY, AWS_ACCESS_KEY_ID, CLERK_SECRET_KEY, and dozens more vendor-correct names automatically.

Tags and labels

Capability

Organize keys by project, client, or environment. Search filters by platform, label, or tag in the app and the CLI picker.

How it works

Three surfaces, one source of truth.

Menu bar

Summon with ⌃⌥⌘C, search, and copy any key without leaving your current app. The popover stays out of your way until you need it.

Terminal

capy resolves secrets into env vars, injects them into child processes, and prints references for scripts.

References

Share capy:// links in docs and dotfiles. They only resolve on your machine, after Touch ID.

Why it stays out of the way

01

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.

02

Hardware-backed, nothing in cleartext

Secrets live in the macOS Keychain, never on disk. Metadata stays in a local JSON file with no secrets.

03

Biometric gate

Copy and reveal go through Touch ID or Apple Watch. Every access is a deliberate, authenticated act.

04

A clipboard that forgets

Copies are concealed from clipboard managers and wiped after 45 seconds so secrets don't linger.

05

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.

06

Moves when you do

Export the vault to a single passphrase-encrypted file (PBKDF2 + AES-GCM) and import it anywhere.

07

Reveal without leaking

Peek at a truncated head…tail preview of any field without exposing the full value to shoulder surfers.

08

Rotation nudges

A quiet 11MO · ROTATE? hint appears on keys whose secret hasn't changed in six months.

09

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.json

Holds 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://openai
capy get openai

Print a secret after Touch ID verification.

capy run -e KEY=openai -- npm start

Inject secrets into a child process environment only.

capy env

Multi-select picker that emits export lines for your shell.

Who it's for

Solo developers

Stop pasting API keys into notes.txt. One vault, one shortcut, one biometric check.

Agency teams

Keep client credentials labeled and tagged. Export a project's keys to an encrypted archive when a handoff happens.

DevOps & infra

Run local tooling with injected secrets via capy run — no .env files committed by accident.