Skip to main content

HSMs and key management

What it is​

Hardware security modules (HSMs), cloud key management services (KMS), and Trusted Platform Modules (TPMs) generate, hold, and use keys for every other job: certification authorities, code signing, TLS servers, and storage encryption. They are not a job of their own; they are often the dependency that decides when the other jobs can move.

Post-quantum options and status​

NIST IR 8547 (October 2026), written for US federal agencies and technology providers, among others, says hardware modules such as HSMs and TPMs must be upgraded or redesigned to support post-quantum algorithms, and that, given long lead times for hardware, it is a high priority for vendors to start integrating support now. Module validation for US federal use is under FIPS 140-3 (March 22, 2019); NIST IR 8547 says NIST will accommodate hybrid key establishment and dual signatures in FIPS 140 validation when they are suitably combined with a NIST-approved scheme.

What to establishWhy
Which post-quantum algorithms the module or service supports, by firmware or service releaseIt sets what the CA, signing pipeline, or server can use
Whether that support is validated, and the certificate that says so, where validation is requiredSupport and validation arrive at different times
Whether it can manage signing state for LMS or XMSS, if you need thoseState errors break hash-based signing
Throughput and key sizes for the new algorithmsLarger keys and signatures affect capacity

Who usually chooses​

The HSM or cloud provider decides what the module supports and when; you decide when to upgrade firmware, change service tiers, or replace hardware.

What good looks like​

  • Each HSM, KMS, and TPM model named on the register row of every key and system that relies on it.
  • A complete supplier answer for every module the register rows depend on.
  • Firmware upgrades or replacements scheduled ahead of the PKI, signing, and server work that depends on them, allowing for hardware lead times.

What to ask or test​

  • The supplier's written answer on supported algorithms, releases, and validation status, recorded on the register.
  • Whether a firmware upgrade is enough or new hardware is needed, and the replacement lead time.
  • A test key generation and signing or decapsulation with the new algorithm in a non-production partition, account, or test device.

Traps​

  • Supported is not validated. Where you need a validated module, check the validation, not the datasheet.
  • Hardware refresh cycles. An HSM that needs replacing can hold up the PKI and code-signing work behind it.
  • Keys that cannot be exported have to be regenerated in the new module, with everything that trusts them updated.

Record it fills​

RecordWhat it holds
RegisterEach HSM, KMS, or TPM, with its model and firmware or service release, named on the row of every key and system that relies on it, rather than given its own row; the module supplier's answer on algorithms, releases, and validation, with its judgment, recorded as a further supplier and answer on those same rows; and the module's upgrade or replacement as the next step on the rows it blocks

Example​

An insufficient record is "Our HSMs are quantum-ready."

From Protect this first: the HSM that holds the product sensor's firmware-signing key is not yet recorded. A decision-ready record would name the HSM, its firmware release, the post-quantum signature schemes it supports and their validation status, and whether it can manage state if the sensor's verifier needs LMS or XMSS.

Sources​

  • NIST, Transition to Post-Quantum Cryptography Standards, NIST IR 8547, October 2026. NIST IR 8547 (PDF)
  • NIST, Security Requirements for Cryptographic Modules, FIPS 140-3, March 22, 2019. FIPS 140-3