Valkeyra
Your coding agent can use your API keys. It never sees them.
Valkeyra keeps your API keys and other secrets in iCloud Keychain on your Mac and iPhone. When a tool or a coding agent needs a key, it asks Valkeyra. You approve with Touch ID on your Mac or Face ID on your iPhone. Valkeyra gives the key to the program that runs, not to the agent's chat.
How it works
- Store your keys once. Add a key in the Valkeyra Keys window or with
valkeyra set. The value goes into iCloud Keychain. It syncs to your devices. - Run your tools through Valkeyra.
valkeyra run -- npm teststarts the command with the keys it needs in its environment. A.env.valkeyrafile in your project lists the key names (vkr://name), never the values. - Approve each use. Valkeyra shows who asks, for which keys, in which folder, and the full command. You approve with Touch ID, or with Face ID on your iPhone when your Mac is locked or far away.
Why
- Values stay out of the agent's context. The CLI never prints a value. Output of
runis masked. - Every approval is signed. Only a Secure Enclave key on your own device can approve, and only with your fingerprint or face. A passcode or password never approves.
- You can see what happened. Each Mac keeps a signed, chained audit log. The iPhone keeps its own log and tells your Macs each time it shows, copies, or changes a key.
- Your keys stay yours. No Valkeyra server and no account. Your data stays in your iCloud account. See the privacy policy.
On your iPhone
- Approve requests from your Macs with Face ID.
- See your keys, show or copy a value (Face ID each time), add and update keys.
- Lock, unlock, or remove a device.
Works with coding agents
Valkeyra ships rule text and deny rules for Claude Code and for agents that read AGENTS.md. You install them with Agent Setup in the Valkeyra menu of the Mac app. Use Valkeyra with coding agents
What you need
- A Mac with macOS 26 or later and Touch ID (built in, or a Magic Keyboard with Touch ID).
- For the iPhone app: an iPhone with iOS 26 or later and Face ID.
- iCloud Keychain turned on, with the same Apple Account on each device.
What Valkeyra does not do
Valkeyra protects against accidental leaks of a key into an agent's context and against a request that you did not mean to approve. It cannot stop a program that you approved from using the key it got, and it cannot stop malware that runs as you and attacks on purpose. Read the limits on the coding agents page.