← Cookbook

⏸ Coming **M6+**

Recipe 22 — API key rotation (zero-downtime)

Status: ⏸ Coming M6+ TZ reference: TZ-10 lines 248-251 (API-key format cag_live_<24>_<8>)

Day-0 the API issues JWT via a dev helper. The cag_live_* API-key infrastructure (issuance + rotation + management UI) is in M6+ Public Beta scope. The SDK already accepts both shapes — server discriminates on the prefix.

When the API-key surface lands the SDK will gain:

Zero-downtime rotation pattern: create new key → update consumers → revoke old after grace window. Recipe 25 covers OAuth migration.

Source: cookbook/recipes/22-api-key-rotation/README.md