← Back to glossary
🔄

Secrets Rotation

Encryption

Replacing keys and tokens regularly (and fast if they leak).

Definition

Secrets rotation means changing secrets (keys, tokens, passwords) on a schedule or after a suspected leak.

In plain English Replacing keys and tokens regularly (and fast if they leak).

Why this matters

Why it matters: It limits how long stolen secrets remain useful to attackers.

Example

Example: Rotating an API key every 90 days, and immediately after exposure.