Step-by-step runbooks for rotating the secrets that actually leak — database
passwords, API keys, cloud access keys, JWT signing keys, TLS certs, and OAuth
client secrets — without downtime. Each runbook uses the two-secret
(dual-key) pattern so you never have a window where the old secret is dead but
the new one isn't live yet.
Rotation that causes downtime is rotation nobody does. The fix is overlap:
1. Create the new secret alongside the old one.
2. Publish it to the secret store (both valid now).
3. Deploy consumers to accept BOTH old and new.
4. Cut over producers to emit/use the new secret.
5. Verify nothing uses the old one (logs/metrics).
6. Revoke the old secret.
Never delete before step 5. Never cut over before consumers accept both.
runbooks/database-password.md — rotate a DB user's password with a standby user.runbooks/cloud-access-key.md — rotate AWS/GCP/Azure keys (two-key overlap).runbooks/api-key.md — rotate a third-party or your-own API key.runbooks/jwt-signing-key.md — rotate a JWT/JWKS signing key with kid overlap.runbooks/tls-certificate.md — renew + roll a TLS cert with no handshake gap.runbooks/oauth-client-secret.md — rotate an OAuth client secret.None to read. Provider CLIs for the applicable runbook.
Get the full Secrets Rotation Runbook and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.