Stop losing API keys.

Back up and restore every project secret with one command. And let cloud coding agents use your keys without ever holding them.

New

A key gateway for cloud coding agents

Agents call model APIs with short-lived tokens you approve with a passkey. The real keys stay in your own gateway and never enter the sandbox.

Works in the cloud environments of

See how it works

On your machine: back up and restore keys

shipkey
▊

Auto Scan

Recursively discover .env, .dev.vars, and config files across your monorepo. Template and real files supported.

Out of your .env files

shipkey push moves every key from your local env files into your password manager in one go. With --references the files keep only op:// references, so nothing an agent or a stray commit can read stays on disk.

Secure Vault

Keys are encrypted and stored in your password manager (1Password or Bitwarden). No plaintext files, no accidental git commits.

Instant Restore

New machine? One command pulls all keys from your vault and generates env files. Ready in seconds.

How it works

shipkey
▊

Shipkey Gateway

Give your agents access. Keep your keys.

Cloud coding agents run in sandboxes you don't fully control. With the Shipkey gateway they call model APIs with short-lived tokens you approve with a passkey. The real keys never enter the sandbox.

01 / 04

Agents get a token, not a key.

An agent asks your issuer for a grant. You approve it with a passkey, and the agent receives a token that lasts hours. It uses that token as its API key.

A leaked log is no longer a leaked key.

Everything an agent holds is short-lived, limited in scope and yours to take back.

Passkey approvals

Every grant is approved with a WebAuthn passkey. The signature covers the exact request, so it cannot approve anything else.

gt_7f3a…
exp 12h

Short-lived tokens

Tokens live for hours and renew on their own for a few days. After that, the environment asks you again.

env-1
env-2
env-3

Revocation that reaches everywhere

Revoke one environment without touching the others. The gateway fails closed when it cannot check the list.

Per-Worker deploy approval

CI gets a deploy token for a single Worker, valid for minutes, and only after you approve that commit with a passkey.

agentedge · +msapi

Milliseconds, not a detour

The gateway runs at the Cloudflare location nearest the agent and verifies tokens offline. HTTP, streaming and WebSocket APIs all work.

$ npx wrangler deploy
OPENAI_API_KEY ······

Yours, and open source

The issuer and the gateway are Cloudflare Workers you deploy in your own account. MIT licensed. Nobody else ever holds your keys.

Deploys wait for your passkey.

No deploy secret is stored in CI. The workflow proves who it is with GitHub OIDC, waits for your approval of the commit, and receives a token that can deploy one Worker for a few minutes.

  1. Push to main
  2. CI asks the issuer for a token
  3. Waiting for a passkey approval
  4. You approve the commit
  5. Token for one Worker, 30 minutes
  6. Deployed
deploy.yml
›push main 3f9a1c2
›POST /ci/token (GitHub OIDC, no stored secret)
⏸Waiting for a passkey approval: https://keys.example.com/deploy#ca-…
✓approved with a passkey
✓token: 1 Worker · site-production · 30 min
✓deployed site-production

Up and running in three steps

Deploy two Workers, add the plugin to your coding agent, and approve with your passkey.

  1. 1

    Deploy the issuer and the gateway

    Both are Cloudflare Workers in the Shipkey repository. Deploy them in your own account, register your passkey as the approver, and store your provider keys as Worker secrets.

    # packages/issuer
    $ npx wrangler deploy
    # packages/gateway
    $ npx wrangler deploy
    Self-hosting guide
  2. 2

    Add the plugin to your coding agent

    The plugin asks for grants, shows you the approval link and QR code, and runs the agent's commands through your gateway. It never holds a real key.

  3. 3

    Point it at your issuer and approve

    Tell the agent your issuer's address once. It shows a check code, a link and a QR code. Approve with your passkey and the grant is live.

    coding agent
    › /shipkey:gateway https://keys.example.com
    issuer  keys.example.com
    gateway gw.example.com ✓
    Check code
    K7QM-2F9X
    keys.example.com/#K7QM-2F9X
    Waiting for your passkey…✓ Approved with a passkey
    ✓ Grant is live · token valid 12h
    openai · anthropic · gemini · openrouter

Then every SDK just works

The plugin points each SDK's base URL at your gateway and uses the grant token as the API key. No code changes.

OPENAI_BASE_URL=https://gw.example.com/openai/v1
OPENAI_API_KEY=gt_7f3a… # a grant token, not a key

Shipkey for iOSComing soon

Approve from your pocket.

The phone side of your Shipkey deployment. See what an agent or a deploy is asking for, and decide with Face ID.

  1. Scan the code your agent shows

    Scan the QR code, tap the link or paste the check code. The app opens straight to the request.

  2. See exactly what you are approving

    Which environment is asking, where from, how long the token lasts and which providers it can call.

  3. Sign with Face ID

    Every decision is a passkey signature over exactly what you approve. Use the passkey in your password manager.

    1PasswordBitwardenApple Passwords
  4. Approve deploys from anywhere

    When CI waits for you, see the repository, the commit and what the token can do before you say yes.

The public beta is not open yet. The app will be open source, like the rest of Shipkey.

Questions

What is a cloud coding agent environment?

It is the remote machine a coding agent works in when it does not run on your laptop: Claude Code on the web, Codex cloud, Cursor Cloud Agents, or a CI runner with Gemini CLI. The vendor starts a VM or a container with your repository, runs your setup script, and lets the agent work there with the network access and the variables you configured.

Why not put API keys in the environment's variables?

Whatever is in the environment, the agent can read, and so can anything that tricks the agent: a prompt injection in a web page, a malicious dependency, a log that gets shared. A long-lived key leaked that way works until you rotate it. A Shipkey token expires in hours, only works for the providers you allowed, and can be revoked at once.

Which agents does Shipkey support?

The plugin installs in Claude Code, Codex, Cursor and Gemini CLI, and works in their cloud environments. Any other agent can use it by running the bundled Node script. The gateway itself works with any SDK that lets you set a base URL.

Is the gateway a hosted service?

No. The issuer and the gateway are open-source Cloudflare Workers that you deploy in your own Cloudflare account. Your provider keys are stored as secrets of your own Worker, and nobody else runs anything for you.

Do I need the gateway to use the Shipkey CLI?

No. The CLI that scans, backs up and restores project secrets with 1Password or Bitwarden works on its own. The gateway is for the keys your cloud agents need.

Install

Requires 1Password CLI or Bitwarden CLI · macOS / Linux