$ grep -c sk-proj .env → 0
A token in every .env
A leaked .env, log or agent transcript gives away a token you can revoke. The real key never leaves Keystub.
Projects and coding agents hold a stand-in token. Keystub swaps in the real key on the way out.
Paste it into Claude Code, Cursor or Codex. It shows you the plan and asks before it touches .env.
Invite-only beta. Request an invite →
$ grep -c sk-proj .env → 0
A leaked .env, log or agent transcript gives away a token you can revoke. The real key never leaves Keystub.
$ curl $OPENAI_BASE_URL/models → 200
The edge checks the token, adds the real key and sends the request on. Your code only changes its base URL.
$ keystub doctor → all checks pass
One prompt. Your coding agent installs the CLI, signs you in, shows the plan and asks before each change.
What your agent runs, one step at a time. Nothing changes until you say yes.
Output shows here.
Save the team's key once. Each project links it; nobody holds a copy.
Replace a key in one place. Each environment has its own token to revoke.
Requests, tokens and cost per project, environment, key and model.
Requests per minute and per day, set per project or environment.
OpenAI, Anthropic, Stripe, GitHub, Resend and more. Add any API by its host and header.
API keys for CI. A remote proxy for boxes where nothing can be installed.
The CLI, the swap protocol, the service catalog and a local proxy are open source. Run keystub serve on your machine, or use the hosted service with your team.
Set up a project in a few minutes.
Invite-only beta. Or write to hello@keystub.app.