Glossary
Key management
Definition
Key management: The activities involved in handling cryptographic keys and related information across their lifecycle: generation, storage, distribution, use, rotation, backup, recovery and destruction. Where these happen determines who can decrypt the data.
Also known ascryptographic key managementencryption key managementKMSkey lifecycle management
In short
Key management is the handling of encryption keys across their whole life: generation, storage, distribution, use, rotation, backup and destruction. Encryption is only as strong as the way its keys are managed. The deciding question is where it happens: on a provider's servers, where the provider can decrypt, or on your devices, where it stores only ciphertext and you need a recovery plan.
Key takeaways
- NIST defines key management as the handling of keys and related information across their lifecycle.
- Keys should never be stored in plaintext, and a key should be wrapped by one at least as strong.
- Key hierarchies let a password change re-lock one key instead of re-encrypting everything.
- Whoever generates, stores and uses the keys can read the data.
- Client-side key management needs a recovery key, because lost keys mean lost data.
Last reviewed 3 December 2026 by Foxcolab Team
Key management is everything involved in handling encryption keys over their life: creating them, storing and backing them up, getting them to the right people, using them, rotating them and finally destroying them. NIST defines it as "the activities involving the handling of cryptographic keys and other related key information" across that lifecycle (NIST glossary, from SP 800-57 Part 1 Rev. 5). Strong encryption with careless key management still fails, because the data is only as safe as its keys.
The lifecycle#
| Stage | The question to answer |
|---|---|
| Generation | Is the key random, and where is it made? |
| Storage | Is it locked under another key, apart from the data? |
| Distribution | How do others get it without anyone in between seeing it? |
| Use | Which people and systems can use it, and for what? |
| Rotation | When is it replaced, and what happens to old data? |
| Backup and recovery | What happens if it's lost? |
| Destruction | How is it retired so old copies stop working? |
Key hierarchies#
Most systems don't encrypt data with a password directly. Data is locked with data keys, data keys with a higher key, and that key with something the user knows. OWASP's Key Management Cheat Sheet sets the ground rules: "Keys should never be stored in plaintext format," and you should "always encrypt a cryptographic key with another key of equal or greater cryptographic strength." A hierarchy also means changing a password re-locks one key instead of re-encrypting everything.
Who holds the keys#
The question that decides privacy is where key management happens. If a provider generates, stores and uses your keys on its servers, it can decrypt your data, and so can anyone who compels it. If keys are made and used on your devices, the provider stores only ciphertext. That shifts responsibility to you: as OWASP puts it, "data that has been encrypted with lost cryptographic keys will never be recovered." Client-side designs need a recovery key.
In Foxcolab#
Foxcolab manages your keys on your devices. Your browser creates your account key when you sign up and locks it with a key made from your password; the keys that protect your mail, files and notes hang off it. Change your password and your browser re-locks the same account key, so nothing is re-encrypted. Your recovery key opens a second locked copy if you forget your password. When access changes, keys rotate on the device: removing someone in Docs re-locks the document, Sheets gives the spreadsheet a new key, and Drive renews folder keys. Organizations also hold an organization recovery key; whoever holds it can reset any account on your domains and keep its data readable.
Read how your account key protects your data and key rotation, or see Foxcolab for enterprise.
Keep exploring
Related terms
- Encryption keyAn encryption key is the secret that locks and unlocks data. Whoever holds it can read the data, which makes "who holds the key?" the question that matters most.
- Key rotationKey rotation replaces an encryption key with a new one, on a schedule or after something changes, so a leaked or shared key exposes less. It protects what comes next.
- Key derivation functionA key derivation function turns a password or other secret into an encryption key. Password-based ones are deliberately slow, so every guess costs an attacker time and hardware.
- Recovery keyA recovery key is a secret that restores access to your encrypted data when you forget your password. In end-to-end encrypted services, it's often the only way back in.
- Private keyA private key is the secret half of a key pair. It opens what was encrypted to your public key and signs as you, so whoever holds it can read and act as you.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.