Rotate a key everywhere it's used.

keypin makes a new key at the provider, publishes it to your CI and hosting, and revokes the old one only after you approve.

$npm install -g keypin

Open sourceNo accountNever stores a value

OpenAI old key revoked new key your vault OPENAI_API_KEY Vercel GitHub Cloudflare OpenAI old key revoked new key your vault OPENAI_API_KEY Vercel GitHub Cloudflare
  1. 1 · rotate A new key at the provider

    keypin rotate OPENAI_API_KEY makes it and saves it to your vault.

  2. 2 · publish Every copy gets it

    Each destination your secretspec.toml lists, after a plan you approve.

  3. 3 · revoke The old key goes last

    You redeploy and check, then approve, and keypin revokes it.

Across projects

See what's due.

keypin status lists every key in every project, and when each is due.

The console shows the same for each repo you share. See the demo org.

$ keypin status
billing ~/code/billing
  STRIPE_API_KEY  prod  due in 42 days  ok GitHub
  RESEND_API_KEY  prod  due in 18 days  ok GitHub
web ~/code/web
  OPENAI_API_KEY  prod  due in 61 days  ok Vercel

Works with

Rotates keys at

Resend, OpenAI, Neon, Supabase, Cloudflare, AWS IAM and 7 more

Publishes to

GitHub Actions, Vercel, Cloudflare Workers, Netlify and 5 more

Reads from your vault

1Password, Infisical, Bitwarden, Doppler, AWS Secrets Manager

secretspec says which keys a project needs and runs it with them. keypin keeps those keys fresh everywhere, from the same secretspec.toml.