Skill 2.2.3

Implement dedicated hardware security modules to comply with regulations (for example, AWS CloudHSM).

Key Concepts

AWS CloudHSM provides FIPS 140-3 Level 3 validated HSMs in a cluster inside the customer's VPC. The customer creates and manages HSM users and keys; AWS cannot access the key material. Applications use standard interfaces (PKCS #11, JCE, OpenSSL Dynamic Engine and Microsoft CNG/KSP), which suits TLS offload, database transparent data encryption, code signing and certificate authority keys. High availability requires at least two HSMs in different Availability Zones, and backups are encrypted and can be copied to other Regions.

A KMS custom key store backed by a CloudHSM cluster gives the best of both: KMS keys whose material is generated and used in the customer's HSMs, so AWS services that integrate with KMS (S3, EBS, RDS) can use them while the HSMs satisfy the custody requirement. An external key store (XKS) instead keeps key material in an HSM outside AWS. Both add cost, latency and availability responsibility compared with standard KMS keys, which are already protected by FIPS-validated HSMs.