Cortex
Search help⌘K

Your keys and sign-ins

Updated 21 November 2026Cortex 0.29.03 min read
On this page

Agent sign-ins stay with the agents, API keys and the Cortex ID key live in the Keychain.

This article says where each of your keys and sign-ins lives, and who can reach it.

Agent sign-ins stay with the agents

Claude Code and Codex sign in with their own login, which you run once in a terminal tab. Cortex never holds a Claude or Codex credential. It does not ask for, see or send your passwords or tokens. It only reads who is signed in, so it can show you. See Several accounts per agent.

Each account is an agent pointed at a folder of its own. For Claude Code, the CLI keeps the sign-in in your Keychain, under a name derived from that folder.

API keys

  • The Cortex Agent's key. An OpenRouter key per account, or an optional token for a model server of your own, is kept in the Keychain. It is never written to a file or placed in an environment variable. The key is readable by Cortex alone and is passed to the agent's helper in memory. See Add an OpenRouter account.
  • Transcription's key. If you choose OpenAI for a meeting's refine pass, its key is kept in the Keychain too.

Your Cortex ID's keys

  • The device key. A key that signs every request your Mac makes to Cortex Server. It lives in this Mac's Keychain only and is not synced.
  • The Cortex ID key. Once unlocked with your passkey, Cortex keeps it in this Mac's Keychain, as an item of this Mac only. It is never synced. The server holds only a copy that your passkey locks, so it cannot open it.
  • Your passkeys live in your password manager, such as iCloud Keychain. Cortex never sees them, only what a passkey unlocks.
  • This Mac's signing key. If you sign PDFs, the key is made in this Mac's Secure Enclave. It cannot be exported, and every signature asks for Touch ID or your Mac's password. Cortex Server issues a certificate for it for each name and email address you sign as. If a Mac is removed or your key is reset, the server withdraws them, and signatures made before stay valid. A certificate from your Keychain or a USB token can sign instead; its key stays where it is. Your hand signatures are kept on this Mac only. See Signing PDFs, in short.

See What a Cortex ID is.

What agents can reach

An agent starts with a short list of environment variables, not the app's whole environment. No key is ever passed to it that way.

With the OS sandbox on, Claude's own sign-in in the Keychain stays readable, since the agent needs it, and is never writable. A Cortex Agent session has the Keychain closed to it altogether, so a command it runs finds no credential there. See Turn on the OS sandbox.

Your SSH keys, ~/.aws and ~/.gnupg are denied to Claude's file tools, and closed to every sandboxed session. See How sessions are kept to their context.

What Cortex never logs

The Log in Settings records what the app did. For sharing it records the event and the share's and Cortex ID's identifiers, but never a share's content, a key, a code, a link secret or a challenge.

Where to remove one

Removing a Cortex Agent account deletes its key from the Keychain. The key stays valid at OpenRouter until you revoke it there, and the question you are asked says so. Choosing Forget This Mac in Settings → Cortex ID deletes this Mac's Cortex ID keys from the Keychain.

Something wrong or missing? Tell us

Open this page in your browser