Cryptographic Key Management
Cryptographic key management controls encryption, signing, and authentication keys from generation through use, rotation, recovery, and destruction. It keeps key material separate from protected data while governing who and what may use each key.
itIdentity, access, and cryptography | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
Cryptographic key management is the system of policies, roles, components, and records that controls cryptographic keys and their metadata. It covers the complete path from generation to destruction. The cryptographic algorithm transforms data, but the key determines who can reverse, authenticate, or authorize that transformation.
A strong cipher cannot compensate for an exposed, unavailable, misidentified, or misused key. Key management therefore treats a key as a governed security object rather than a value placed beside ciphertext.
The control plane and data plane
A cryptographic key management system, or CKMS, combines policy, procedures, software, hardware, and operator responsibilities. Its control plane creates key identities, attaches policy, changes lifecycle state, records use, and handles recovery. Its data plane performs or authorizes cryptographic operations.
A common arrangement separates three layers:
- A data-encryption key, or DEK, encrypts application data.
- A key-encryption key, or KEK, wraps the DEK so the DEK can be stored with the ciphertext in protected form.
- A key management service or hardware security module protects the KEK and enforces operations against it.
This arrangement is envelope encryption. The application can encrypt large data locally with a DEK while the CKMS handles a much smaller wrapped key. The stored record usually contains ciphertext, the wrapped DEK, an algorithm or format identifier, and the CKMS key identifier. It must also preserve any authenticated metadata required by the encryption format.
A hardware security module, or HSM, is a cryptographic module with a defined hardware boundary. It can generate keys and perform operations while restricting export of sensitive key material. A cloud KMS exposes managed key operations through an API. Some services use HSMs underneath; the operational distinction is who controls the boundary, availability design, policy, and administration.
Key roles are not interchangeable
Symmetric keys use the same secret material for the paired operation, such as encryption and decryption. Asymmetric keys form a public and private pair. The private key performs a sensitive operation such as signing or decryption. The public key supports verification or key establishment and still needs trustworthy metadata about its owner and purpose.
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final
Supports
- Key classifications and purposes, including data-encryption, wrapping, signing, authentication, agreement, and derivation keys
- Cryptoperiods, key metadata, protection requirements, lifecycle states, four management phases, inventory, backup, compromise, recovery, and destruction
- Distinctions among active, suspended, deactivated, compromised, and destroyed processing rules
- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf
Supports
- Detailed state transitions, metadata fields, backup availability, integrity protection, key dependencies, and audit retention
- https://csrc.nist.gov/pubs/sp/800/57/pt2/r1/final
Supports
- Organizational key-management policy, planning, roles, documentation, and centralized or decentralized structures
- https://csrc.nist.gov/pubs/sp/800/130/final
Supports
- CKMS design as policies, procedures, hardware, software, firmware, devices, metadata, and access controls
- https://csrc.nist.gov/pubs/sp/800/133/r2/final
Supports
- Generation, derivation, and establishment of keys used by approved cryptographic algorithms
- https://csrc.nist.gov/pubs/sp/800/38/f/final
Supports
- Key wrapping as confidentiality and integrity protection for cryptographic keys
- AES Key Wrap and AES Key Wrap with Padding
- https://csrc.nist.gov/pubs/sp/800/152/final
Supports
- CKMS design, implementation, operation, disaster recovery, security assessment, and policy requirements
- https://cheatsheetseries.owasp.org/cheatsheets/Key_Management_Cheat_Sheet.html
Supports
- Application key lifecycle, generation, distribution, storage, backup, audit, compromise response, and recovery guidance
- Limiting plaintext key exposure, separating key purposes, and mapping key use
- https://csrc.nist.gov/projects/key-management/key-management-guidelines
Supports
- Current NIST key-management publication set and roles of its three SP 800-57 parts
- https://docs.oasis-open.org/kmip/spec/v1.0/os/kmip-spec-1.0-os.html
Supports
- Managed-object and client-server operation model for interoperable key management
- October 2010 KMIP Version 1.0 standard milestone
- https://developer.hashicorp.com/vault/docs/secrets/transit
Supports
- Cryptographic operations as a service, data-key generation, envelope encryption, named key versions, and key rotation
- https://developer.hashicorp.com/vault/api-docs/secret/transit
Supports
- Rotation and rewrap behavior without returning application plaintext
- https://github.com/sindresorhus/awesome
Supports
- Required Awesome-list discovery starting point and route to the Cryptography list
- https://github.com/sobolevn/awesome-cryptography
Supports
- Discovery of GnuPG, SOPS, Blackbox, and git-crypt as relevant ecosystem projects
- https://getsops.io/
Supports
- Structured encrypted-file workflow and use of cloud KMS, age, or PGP recipients
- https://www.gnupg.org/
Supports
- OpenPGP encryption, signing, public-key directories, and key-management capabilities
- https://github.com/StackExchange/blackbox
Supports
- GPG-encrypted files and administrator keyrings stored through repository workflows
- https://github.com/AGWA/git-crypt
Supports
- Transparent selected-file encryption and repository key distribution through Git filters
- https://aws.amazon.com/kms/
Supports
- AWS KMS placement as a managed cloud key service with integrated encryption and centralized controls
- https://aws.amazon.com/documentation-overview/kms/
Supports
- Envelope encryption, lifecycle permissions, automatic rotation, and AWS service integrations
- https://azure.microsoft.com/en-us/products/key-vault
Supports
- Azure Key Vault placement for cloud key, secret, and certificate protection
- https://learn.microsoft.com/en-us/azure/key-vault/managed-hsm/backup-restore
Supports
- Managed HSM backup of keys, versions, attributes, tags, and role assignments under a protected security domain
- https://cloud.google.com/security/products/security-key-management
Supports
- Google Cloud KMS placement for managed cloud key operations and protection levels
- https://cloud.google.com/kms/docs/resource-hierarchy
Supports
- Key rings, keys, versions, locations, protection levels, and IAM access boundaries
- https://www.ibm.com/products/key-protect
Supports
- IBM Key Protect placement as a managed key service integrated with IBM Cloud resources
- https://cloud.ibm.com/docs/key-protect?topic=key-protect-envelope-encryption
Supports
- IBM Key Protect envelope-encryption flow and customer-managed integration
- https://cpl.thalesgroup.com/encryption/ciphertrust-manager
Supports
- CipherTrust Manager lifecycle operations, central policy, backup, clustering, deactivation, and deletion
- https://www.fortanix.com/platform/data-security-manager/key-management-service
Supports
- Fortanix DSM centralized key lifecycle, HSM-backed operations, identity policy, and audit placement
- https://csrc.nist.gov/pubs/fips/46/final
Supports
- January 1977 DES standard milestone and hardware implementation context
- https://csrc.nist.gov/pubs/fips/140/final
Supports
- April 1982 security requirements for equipment implementing DES
- https://csrc.nist.gov/pubs/fips/140-1/upd1/final
Supports
- January 1994 FIPS 140-1 milestone and four cryptographic-module security levels
- https://csrc.nist.gov/pubs/fips/140-2/final
Supports
- May 2001 FIPS 140-2 milestone and module requirements including key management
- https://csrc.nist.gov/pubs/fips/197/final
Supports
- November 2001 AES standard milestone and its three key sizes
- https://csrc.nist.gov/pubs/sp/800/57/pt1/final
Supports
- August 2005 first final SP 800-57 Part 1 milestone
- https://docs.oasis-open.org/kmip/profiles/v1.0/os/kmip-profiles-1.0-os.html
Supports
- October 2010 KMIP 1.0 profiles and standard date
- https://csrc.nist.gov/pubs/fips/140-3/final
Supports
- March 2019 FIPS 140-3 milestone and updated cryptographic-module security requirements
- https://www.nist.gov/news-events/news/2020/05/nist-publishes-special-publication-sp-800-57-part-1-revision-5-0
Supports
- May 2020 SP 800-57 Part 1 Revision 5 milestone and expanded metadata, access-control, authentication, and inventory guidance
