renidly
Core Concepts

API Keys

3 min read

An API key belongs to an organization, not to a person. You can hold several — one per environment or service — and they all authenticate the same way and spend the same credit balance.

How keys are scoped

Every key is owned by an organization. That ownership decides three things: which credit balance the call spends, which rate limit applies, and whose usage history it lands in. Two keys in the same organization are interchangeable in all three respects.

PropertyScope
HeaderX-renidly-apikey
Credits spentThe organization’s single shared balance
Rate limitThe organization's limit — see Rate Limits
Endpoint accessFull access to every endpoint your plan exposes
Maximum per organization7

One key per environment

Because keys share one balance, there is no cost to splitting them — and real benefit. Give each environment its own named key:

  • You can revoke a leaked CI key without touching production.
  • Logs and analytics can be filtered per key, so you can see what staging is actually doing.
  • Rotating one environment does not force a coordinated rollout across all of them.

Create and name keys in API Keys. Owners and Admins can manage them; other roles cannot see key values at all.

Storing your key

  1. Copy the value from API Keys when you create it.
  2. Store it in a secret manager (1Password, Vault, AWS Secrets Manager, Doppler).
  3. Reference it as RENIDLY_API_KEY in your runtime — never commit it.

Rotate vs revoke

Both take effect immediately — there is no grace period on either. The difference is what happens to the key's identity and history.

RotateRevoke
The old secretStops working at onceStops working at once
You get a new secretYesNo — the key is gone
Name and usage historyKeptDeleted with the key
Use whenA secret leaked but you still need the keyThe key is no longer needed at all

Rotating without downtime

  1. Add a second key named for the rollout (for example production-next) rather than rotating in place.
  2. Deploy a release that prefers the new key if it is set, falling back to the current one.
  3. Once every instance is on the new key, revoke the old one.

This uses your key allowance instead of a maintenance window, and at no point are any requests rejected. If you would rather rotate in place, stage the new value in your secret manager first and expect a brief failure window at the cutover.

Permissions and scopes

Today every key has full access to the endpoints your plan exposes. Per-endpoint scopes are on the roadmap. Until then, use separate keys per environment so you can revoke narrowly.

Security incident response

If you suspect a key has leaked:

  1. Rotate or revoke it from API Keys — the old value stops working at once.
  2. Filter the request logs to that key and look for unexpected calls.
  3. Check Organization → Activity to see who last changed keys or members.
  4. Email [email protected] with the approximate compromise window — we can confirm whether any pre-rotation usage occurred and from what IPs.
  5. Rotate any other secrets stored alongside the Renidly key.