Why it matters
Rotating bot tokens and webhook secrets is a rehearsed runbook: dual-write when possible, cut traffic, revoke old, verify.
Practical steps
- Inventory every consumer of the secret (prod, staging, CI, humans).
- Introduce the new secret; support both briefly if the platform allows.
- Deploy config; confirm signature success metrics.
- Revoke or invalidate the old secret.
- Record the rotation in the changelog / ops log.
Watch out for
- Revoking before all replicas pick up the new secret.
- Pastable secrets left in old CI variables.