Components

Stream Text

How do I rotate an API key without downtime?

Rotate with two live keys

Keep the old key working while the new one rolls out, then revoke it once nothing uses it.

  1. 1.Create a second key in Settings → API keys. Both keys stay valid.
  2. 2.Deploy the new key to each service, one environment at a time.
  3. 3.Watch Last used on the old key. Once it stops updating for a full day, nothing depends on it.
  4. 4.Revoke the old key.
Response complete
Stream Text
←Sidebar17 / 21Split View→