Documentation
Vallkey docs
Everything you need to protect your API keys: Stripe, PayPal, OpenAI, Anthropic, AWS and any other HTTPS API.
Quick startProtect your first key in five minutes.Command lineSwap the keys in your .env files with one command.AI coding agentsClaude Code, Cursor and others, without seeing keys.RulesEndpoints, caps, models and expiry.Management APIEverything the dashboard does, by API.If Vallkey is downWhat happens, and how to stay ready.
Get started
- Quick startProtect your first API key in five minutes.
- Command lineSwap the keys in your .env files for ghost keys with one command, and scan your code for leaked keys.
- No code changesAuto-connect sends your app's API calls through Vallkey without code changes, in Node.js, Bun, Python, Ruby, Java, .NET, PHP and Elixir.
- PythonSend any Python SDK through Vallkey without changing your code.
- AI coding agentsLet Claude Code, Cursor and other agents protect keys without ever seeing them.
- AI agents that call APIsLet an AI agent make a short-lived key for each task, use it, and end it, without ever seeing a real key.
- StripeProtect a Stripe secret key with payment caps and only the endpoints your app needs.
- OpenAIProtect an OpenAI key with allowed models and a daily budget.
- AnthropicProtect an Anthropic key with allowed models and a daily budget.
Providers
- All providersThe services Vallkey knows, and how requests to each one are checked.
- Custom APIsProtect a key for any HTTPS API, even one Vallkey does not know yet.
- AWSUse the AWS SDKs with a ghost key: Vallkey signs each request again with the real credentials.
- PayPalPayPal's access tokens, handled for you without exposing your secret.
- WebSocketsWebSocket and realtime sessions through Vallkey.
Rules and limits
- RulesWhat a key may do: allowed endpoints, request limits and an expiry date.
- Spending limitsCap each payment and the daily total, in each currency.
- AI token capsAllowed AI models and a daily budget, in tokens or dollars.
- GraphQLBlock mutations and allow only the GraphQL operations you name.
- IP and country limitsAccept requests only from your servers' addresses, or from the countries you choose.
- Websites and appsUse a key from web pages and mobile apps: allowed websites, limits for each visitor and user, and short-lived keys.
- Automatic killKill a key by itself the moment it looks leaked.
Keys
- Kill switch and slow looseningStop a key everywhere at once, and why looser changes wait an hour after a key's first day.
- Rotating a ghost keyGet a new ghost key with the same rules, with or without a grace period.
- One real key, many ghost keysSeveral ghost keys for one real key: replaced, killed and limited together.
- Seeing a ghost key againLost a ghost key? An admin can see it again, after confirming it's them.
- Replacing a real keyYour provider key changed: swap in the new one without touching your app.
- Key poolsSpread one ghost key over several real keys, to multiply the provider's limit.
- High-volume keysLet one ghost key take thousands of requests a second.
- Your own API domainCall Vallkey at your own address, such as api.yourcompany.com.
Team and account
- Team and audit logInvite your team, choose what each person may do, and see every change in the audit log.
- Activity historyEvery request with its outcome, searchable and exportable.
- Speed and errorsSee whether slowness comes from your app, Vallkey or the provider.
- AlertsHear about blocked requests, kills and changes by email, Slack, Teams or webhook.
- Leak detectionWhat happens when a ghost key turns up in public.
- Account securityPasskeys, authenticator apps, and confirmation before dangerous actions.
- Data regionsKeep your account's data in the European Union, or store it globally close to you.
API
Plans and help
Still have a question?
We read every email, usually within a day.