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.
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.
In plain words
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.
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
- Developing Secure Software (LFD121)Linux Foundation with OpenSSF, course
Related terms
Cite this page Encryption Observer, “Key rotation”, encryption.observer/terms/key-rotation/, checked December 2026.