Hardware Security Module
Subject: Computer and Technology noun /ˈhɑːrd.wɛr sɪˈkjʊr.ə.ti ˈmɑː.dʒuːl/ 1 definition
- computer-security
- cryptographic-hardware
- key-management
- data-protection
-
Definition (noun)
Entry #141 · UpdatedA Hardware Security Module (HSM) is a dedicated, tamper-resistant physical computing device designed to manage the full lifecycle of cryptographic keys and perform sensitive cryptographic operations within a secure hardware boundary. Unlike software-based key stores that expose secrets in general-purpose host memory or disk storage, an HSM generates, stores, rotates, and destroys symmetric and asymmetric keys inside an isolated processor certified to standards such as FIPS 140-3. Applications send requests to the module over standard protocols like PKCS #11 or KMIP for encryption, decryption, and digital signing, while tamper-evident and tamper-responsive mechanisms automatically zeroize key material if physical intrusion or side-channel probing is detected.
Common Forms
Network-Attached HSMs: Standalone rack-mounted appliances connected over Ethernet that deliver centralized, high-throughput key management and load-balanced cryptographic services for enterprise applications and public key infrastructures.
PCIe Expansion Card HSMs: Specialized hardware boards installed directly into a server's PCIe slot to provide ultra-low-latency cryptographic acceleration for host-local workloads such as payment processing and TLS termination.
USB and Portable Token HSMs: Compact removable hardware devices used by security administrators and certificate authorities to store high-value root keys offline or authorize code-signing operations in air-gapped environments.
Cloud-Hosted HSMs: Dedicated single-tenant HSM hardware or isolated hardware partitions operated within cloud provider data centers, giving cloud workloads hardware-backed key custody and compliance without on-premises rack management.
Example
When a Certificate Authority issues a new TLS certificate for a banking portal, its signing service transmits the certificate payload over a mutually authenticated channel to a network-attached HSM via PKCS #11. The HSM signs the payload inside its tamper-responsive enclosure using a non-exportable ECDSA P-384 intermediate key and returns only the digital signature, ensuring the private key never leaves the module or enters host RAM.