Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Key management covers the whole life of a cryptographic key, from generation to destruction. Rotation replaces a key on a schedule or after an incident, and is where most policies quietly fail.

What Is Key Management and Key Rotation?
Encryption converts a data protection problem into a key protection problem. That is a good trade — a 32-byte secret is far easier to defend than a terabyte of records — but only if the key is actually defended. Key management is the set of processes covering a key’s entire life: how it is generated, distributed, stored, used, rotated, archived, and destroyed, and who is permitted to do each of those things.
It is the part of applied cryptography that fails most often, and the failures are rarely interesting. Keys in source control, keys in container images, keys shared between development and production, keys that nobody can identify but nobody dares delete.
NIST SP 800-57 is the reference that most frameworks point to, and it introduces the idea of a crypto-period: the time a key may remain in use, set according to how much data it protects, how exposed it is, and how long that data must stay confidential.
Organisations routinely claim annual key rotation while describing something much weaker. Three different operations get the same name:
| Operation | Effect | Effort |
|---|---|---|
| Rotate the key encryption key | Re-wraps data keys; the keys protecting data are unchanged | Minutes |
| Rotate the data encryption key for new writes | New data uses a new key; old data does not | Low |
| Re-encrypt existing data | Old key genuinely retired | Potentially enormous |
All three are legitimate, but only the third removes the old key from relevance. Envelope encryption makes this manageable by generating a fresh data key per object, so that re-encryption becomes unnecessary for the common case and the only key with a long life is the one held in hardware.
Rotation also has a cost nobody budgets for: every system that caches a key, every integration partner holding a copy, and every signed artefact referencing a key version must be considered. A rotation plan that has never been exercised is a theory, and the moment to discover its gaps is not during an incident.
PCI DSS v4.0 is the most prescriptive. Requirements 3.6 and 3.7 cover key storage in the fewest possible locations, split knowledge and dual control for clear-text key operations, defined crypto-periods, retirement of keys when they are suspected of compromise, and signed acknowledgements from key custodians. Assessors ask for the documented procedure and the evidence that it ran.
UK GDPR is less specific but no less relevant: Article 32 expects appropriate technical measures, and the ICO’s position that encrypted data with an uncompromised key presents lower risk only holds if you can demonstrate the key was never exposed. Financial entities under DORA must evidence cryptographic key management within their ICT risk framework, including an inventory and a policy for its review. NCSC guidance on protecting bulk data takes the same line: the key management arrangements, not the algorithm, determine the real strength of the control.
Decrypt to every role in the account, making the encryption a formality.Building a key inventory is usually the most valuable first step, and it is also the prerequisite for crypto agility and for post-quantum migration. We carry out that discovery as part of our cyber risk analysis services, and the first version of the inventory almost always contains surprises.
It depends on what the key protects and how exposed it is. A common baseline is annual rotation for key encryption keys, far more frequent rotation for session and ticket keys, and per-object data keys that are never reused. Rotate immediately on suspected compromise or when a custodian leaves, regardless of the schedule.
Only partially. Re-wrapping data keys under a new master key limits exposure of the wrapping key, but the keys that actually encrypt your records are unchanged, so an attacker holding one still has it. Genuine protection for existing data requires re-encryption, which is why generating a fresh data key per object is the better architecture.
In a key management service or secrets manager that the application authenticates to with a short-lived workload identity, never in source control, configuration files, environment variables baked into images, or alongside the encrypted data. For signing and root keys, use a hardware security module and mark them non-exportable.
Destroying the key so that data encrypted under it becomes unrecoverable, which is often the only practical way to delete data spread across backups, replicas, and archives. It satisfies deletion requirements if the key is genuinely gone from every copy, so it depends entirely on knowing where key material has been stored.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.