Observability

Every answer, traced to the millisecond.

How do I rotate API keys without downtime?
Answer

Create the new key and deploy it alongside the old one. Once traffic has moved over, revoke the old key1. Both keys stay valid during the overlap, so no request fails2.

Sources

docs.acme.dev

Rotating API keys

acme.dev/blog

Zero-downtime deploys

status.acme.dev

Incident 4127

The lens tours each span. Point at any part of the answer to take over.