05. Authentication
Chapter 5 of 24 · 20 min
EXERCISE
Implement API key rotation without downtime. The system should allow creating a new key, validating against both old and new during a grace period, then invalidating the old key. Handle the case where the user loses access to the old key during rotation.