Encryption Observer

Glossary Keeping keys safe

Key rotation

Key rotation means retiring a key and switching to a new one on a schedule, or straight away if it might have leaked. Data protected by the old key may be re-encrypted with the new one.

Think of it like this

Changing the locks every year, and immediately if a key goes missing.

Why it matters

It limits how much data any single stolen key can unlock and how long an attacker can use it.

Where you meet it

Inside companies' cloud key services, and in the shrinking lifetimes of website certificates.

Key 1January to MarchKey 2April to JuneKey 3July to SeptemberKey 4October to DecemberKey 2April to Junekey 2 leaked: only these months exposedKeys 1, 3 and 4 still protect their own data
Replacing keys on a schedule limits the damage from a leak. A stolen key unlocks only what was protected during its own period.

More diagrams: The life of a cryptographic key

Go deeper history and technical detail

Rotation is hard when keys are hard-coded or nobody knows where they are used, which is why it goes hand in hand with crypto-agility and inventories. Payment systems use schemes such as DUKPT that derive a new key for every transaction.

Read or watch next

Related terms

Cite this page Encryption Observer, “Key rotation”, encryption.observer/terms/key-rotation/, checked December 2026.