API Keys

A key belongs to one project and one environment, is stored as a hash, and can be revoked without a deploy. Treat it like a password that happens to start with calder_sk_.

Test vs. live

Test keys (calder_sk_test_…) run the full pipeline, events and webhooks included, but never deliver real mail and never count against your plan. Live keys (calder_sk_live_…) deliver. The code is identical; only the key changes.

Creation

Keys are created per project in the dashboard. The secret is shown once because only its hash is stored, so a lost key is replaced rather than recovered. Name them after what uses them: production-web beats key-3 the day you have to revoke one under pressure.

Rotation

Create the replacement, deploy it, confirm traffic is flowing, then revoke the old key. Both keys work during the overlap on purpose, so rotating never needs downtime.

Revocation

Revoked keys fail closed immediately. If a key leaks, revoke first and investigate second, then check the event history for anything sent while it was exposed.