Secrets Rotation Drills: Practicing Failure Before It Happens
Teams say they rotate keys, but many have never timed a full emergency rotation. A drill turns policy into operational confidence.
1) Inventory every secret and its blast radius
secrets:
- name: github_webhook_secret
owner: backend
impact: medium
- name: wp_application_password
owner: platform
impact: high
2) Rehearse rotation in non-prod with stopwatch metrics
./rotate_secret.sh --name wp_application_password --env staging
./smoke_test_publish.sh