Skip to main content

Secret Rotation Schedule

Active Secrets

SecretLocationLast RotatedRotation PolicyNext Due
GITHUB_TOKENAuto-generatedN/AAutomatic per workflow runN/A
Cloudflare API TokenCloudflare Pages integration2026-04-01Every 90 days2026-07-01
Cloudflare Analytics TokenWeb Analytics beacon2026-04-01Static (client-side, non-secret)N/A

Rotation Process

  1. Generate a new token/key in the relevant service
  2. Update the GitHub Actions secret or Cloudflare Pages environment variable
  3. Verify all workflows pass with the new token
  4. Revoke the old token
  5. Update the "Last Rotated" date in this document
  6. Commit the updated document

Automated Reminders

The stale-content-issues.yml workflow monitors this document's last_reviewed date. If the document is not updated within 90 days, a stale content issue is created as a reminder to review rotation status.

Canary Tokens

Canary tokens are documented separately in Canary Tokens. They do not require rotation but should be verified quarterly to ensure alert endpoints are still active.

Emergency Rotation

If a secret is suspected compromised:

  1. Immediately revoke the old token in the relevant service
  2. Generate a new token
  3. Update the GitHub Actions secret
  4. Verify all workflows pass
  5. Review audit logs for unauthorized usage
  6. Update this document
  7. Follow the Incident Response Runbook if applicable