Key Management System
What is Key Management System?
Key Management SystemA centralised service that generates, stores, rotates, and audits cryptographic keys on behalf of applications, typically backed by hardware security modules.
A Key Management System (KMS) is the trust anchor for an organisation's cryptographic keys. It handles the full lifecycle — generation, storage, distribution, rotation, revocation, archival, and destruction — while exposing operations such as encrypt, decrypt, sign, and verify through an API rather than releasing the raw key. Its guiding principle is that high-value keys never leave the cryptographic boundary: a key-encryption key (KEK) stays inside a FIPS 140-3 validated hardware security module and only wraps short-lived data keys (DEKs), the pattern known as envelope encryption. NIST SP 800-57 is the authoritative reference for the lifecycle, defining crypto-periods, dual control, and split-knowledge so no single operator can extract or misuse a key.
Why this rigour matters is clearest when it fails. In the 2023 Storm-0558 incident, a threat actor obtained a Microsoft consumer (MSA) signing key and, via a token-validation flaw, forged Azure AD/Entra ID tokens to read email at roughly 25 organisations, including US federal agencies. A single mishandled, over-scoped signing key — not a broken algorithm — caused the breach, exactly the failure disciplined key management, scoping, and tamper-evident audit logging are designed to prevent. Common offerings include AWS KMS, Google Cloud KMS, Azure Key Vault, and self-hosted HashiCorp Vault Transit, underpinning BYOK/HYOK strategies and PCI DSS, HIPAA, and FedRAMP compliance.
flowchart TD A["Generate KEK inside HSM (FIPS 140-3)"] --> B["Store KEK; never export in plaintext"] B --> C["Serve encrypt / decrypt / sign via API"] C --> D["Envelope encryption: KEK wraps data keys (DEK)"] D --> E["Rotate on crypto-period (NIST SP 800-57)"] E --> C C --> F["Revoke on compromise"] F --> G["Archive or cryptographically destroy"] C -. all operations .-> H["Tamper-evident audit logs"]
● Examples
- 01
AWS KMS customer-managed keys protecting S3 and RDS data at rest.
- 02
HashiCorp Vault Transit acting as encryption-as-a-service for microservices.
● Frequently asked questions
What is Key Management System?
A centralised service that generates, stores, rotates, and audits cryptographic keys on behalf of applications, typically backed by hardware security modules. It belongs to the Cryptography category of cybersecurity.
What does Key Management System mean?
A centralised service that generates, stores, rotates, and audits cryptographic keys on behalf of applications, typically backed by hardware security modules.
How do you defend against Key Management System?
Defences for Key Management System typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for Key Management System?
Common alternative names include: KMS, Cryptographic key management.