AWS Certified CloudOps Engineer Associate SOA-C03 [2026]

AWS CloudHSM: Architecture, Security Controls, Use Cases, and KMS Integration

Study AWS CloudHSM architecture, customer-controlled keys, FIPS validation, common use cases, and when to combine CloudHSM with AWS KMS.

AWS Certified CloudOps Engineer Associate SOA-C03 [2026]AWS Certified CloudOps Engineer Associate SOA-C03 [2026]Updated Sep 1, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

AWS CloudHSM: Architecture, Security Controls, Use Cases, and KMS Integration

Purpose of This Lesson

AWS CloudHSM provides dedicated hardware security modules (HSMs) for generating and using encryption keys in the AWS Cloud. The central assessment decision is whether an application needs the customer-controlled, single-tenant hardware-backed key protection of CloudHSM rather than the managed, multi-tenant key infrastructure of AWS Key Management Service (AWS KMS).

This lesson focuses on CloudHSM architecture, security and compliance characteristics, common use cases, and the reason CloudHSM can be used as a custom key store for KMS.

Key Concepts

  • Dedicated HSM infrastructure: CloudHSM provides access to dedicated hardware security modules rather than the multi-tenant infrastructure used by KMS.
  • VPC-based deployment: CloudHSM runs in the customer’s Amazon VPC.
  • Customer-controlled keys: The customer retains control of encryption keys and controls access to them. AWS has no visibility into those keys.
  • Managed service: CloudHSM is managed by AWS and automatically scales, while still providing greater control over the HSM and root of trust.
  • FIPS 140-2 Level 3: CloudHSM uses FIPS 140-2 Level 3 validated hardware security modules.
  • Customer-managed root of trust: CloudHSM’s root of trust is managed by the customer, unlike the AWS-managed root of trust associated with KMS.
  • KMS custom key store: CloudHSM can serve as a custom key store for KMS. This combines customer control over the HSM-protected keys with KMS integration for AWS services.

CloudHSM Architecture and Security Model

CloudHSM is a cloud-based hardware security module deployed in a customer VPC. Its dedicated hardware model is the main distinction from KMS’s multi-tenant infrastructure. Both services provide secure key management, but CloudHSM is intended for situations where the organization requires more direct control over the hardware-backed root of trust and encryption keys.

CloudHSM uses FIPS 140-2 Level 3 validated HSMs. This validation supports use cases requiring a higher level of hardware security and specific compliance controls. The distinction does not mean KMS is insecure; rather, CloudHSM addresses requirements for dedicated hardware and customer-controlled key protection.

The customer retains control of the encryption keys and controls access to them. AWS does not have visibility into the keys. This control model can be important when organizational policy or compliance requirements require the customer to manage the root of trust directly.

CloudHSM Use Cases

Offloading SSL/TLS Processing

CloudHSM can perform compute-intensive SSL/TLS cryptographic operations instead of web servers. This can reduce the cryptographic processing burden placed on application infrastructure.

Protecting Certificate Authority Private Keys

A certificate authority’s private key is highly sensitive. CloudHSM can protect the private key used by an organization’s certificate authority, reducing exposure of a key that is central to certificate issuance and trust.

Protecting Oracle Transparent Data Encryption Master Keys

CloudHSM can store the master key used for transparent data encryption with Oracle databases. This places protection of the database encryption root key on dedicated HSM hardware.

Providing a Custom Key Store for KMS

CloudHSM can be configured as a custom key store for KMS. In this arrangement:

  • CloudHSM protects the master keys and gives the customer control over the HSM.
  • KMS provides integration with AWS services.

This option is useful when an organization needs CloudHSM’s customer-controlled key protection but also needs the service integration and broader AWS service compatibility provided by KMS.

Exam- or Assessment-Relevant Takeaways

  • Choose CloudHSM when the scenario emphasizes dedicated or single-tenant hardware, customer-managed root of trust, direct control over keys, or FIPS 140-2 Level 3 HSM validation.
  • Choose KMS when the primary requirement is straightforward integration with AWS services and managed key operations.
  • Choose CloudHSM as a custom KMS key store when the scenario requires both customer control of HSM-protected master keys and KMS integration with AWS services.
  • CloudHSM runs in the customer VPC; this is a key architectural clue.
  • CloudHSM supports broad third-party integration but does not directly support AWS services in the same way KMS does.
  • KMS is multi-tenant and has an AWS-managed root of trust, while CloudHSM is single-tenant with a customer-managed root of trust.
  • Both services provide high availability, but CloudHSM gives the customer more control over the underlying HSM environment.

Tool / Feature Decision Guide

Requirement or scenarioBest fitReason
Need managed encryption key functionality integrated directly with AWS servicesAWS KMSKMS provides broad AWS service integration.
Need dedicated, single-tenant HSM hardwareAWS CloudHSMCloudHSM provides dedicated hardware security modules.
Need customer control over the root of trust and encryption keysAWS CloudHSMThe root of trust is customer managed, and AWS has no visibility into the keys.
Need to protect a certificate authority private keyAWS CloudHSMIt is designed for protecting sensitive private keys on dedicated HSM hardware.
Need to offload SSL/TLS cryptographic processing from web serversAWS CloudHSMThe HSM can perform compute-intensive SSL/TLS operations.
Need CloudHSM key protection together with AWS service integrationCloudHSM custom key store for KMSCloudHSM protects the keys while KMS supplies AWS service integration.
Need Oracle transparent data encryption master-key protectionAWS CloudHSMCloudHSM can store the Oracle TDE master key.

Common Traps / Misconceptions

  • “KMS is not secure because it is multi-tenant.” KMS is secure; CloudHSM is selected when dedicated hardware and greater customer control are required.
  • “CloudHSM automatically replaces KMS for AWS service encryption.” CloudHSM does not provide the same direct AWS service support. A custom key store for KMS may be needed when both CloudHSM control and AWS integration are required.
  • “CloudHSM means AWS controls the keys.” The lesson’s distinction is that the customer retains control of the keys and AWS has no visibility into them.
  • “CloudHSM is customer-operated hardware in an external data center.” It is a managed AWS service running in the customer’s VPC.
  • “Both services have the same root-of-trust model.” CloudHSM uses a customer-managed root of trust, while KMS uses an AWS-managed root of trust.
  • “FIPS 140-2 Level 3 means KMS is noncompliant.” The relevant distinction is the validation level and control model described in the scenario, not a claim that KMS lacks security.

Real-World Engineer / Analyst Notes

When evaluating CloudHSM, start with the control requirement rather than the product name. Ask whether the organization needs dedicated hardware, direct control of the root of trust, protection of a particularly sensitive private or master key, or a specific compliance posture.

Then evaluate integration needs. If the protected key must be used broadly by AWS services, KMS may be the more practical interface. If customer-controlled HSM protection is also required, the custom key store design combines the two services rather than forcing a choice between hardware control and AWS integration.

For troubleshooting or design reviews, separate these questions:

  1. Where does the HSM run? CloudHSM runs in the customer VPC.
  2. Who controls the root of trust? CloudHSM places that control with the customer; KMS uses an AWS-managed root of trust.
  3. Does the workload need broad AWS service integration? KMS is the relevant integration layer.
  4. Does the workload need dedicated hardware or protection for a CA private key, SSL/TLS operations, or an Oracle TDE master key? CloudHSM is the stronger fit.

Quick Reference Summary

  • CloudHSM: Dedicated, single-tenant HSM service running in a customer VPC.
  • Validation: FIPS 140-2 Level 3 validated hardware security modules.
  • Key control: Customer retains control of keys; AWS has no visibility into them.
  • Root of trust: Customer managed.
  • Common uses: SSL/TLS processing, certificate authority private keys, and Oracle TDE master keys.
  • KMS comparison: KMS is multi-tenant, uses an AWS-managed root of trust, and integrates broadly with AWS services.
  • Combined pattern: Use CloudHSM as a custom key store for KMS when customer-controlled HSM protection and AWS service integration are both required.

Flashcards

Q: A workload requires dedicated, single-tenant cryptographic hardware inside the customer’s VPC. Which AWS service is the stronger fit?
A: AWS CloudHSM, because it provides dedicated HSM hardware that runs in the customer’s VPC. KMS uses multi-tenant infrastructure.

Q: When would you select KMS instead of CloudHSM for key management?
A: Select KMS when broad, managed integration with AWS services is the primary requirement and the scenario does not require customer-managed HSM hardware or root of trust.

Q: What is the key difference between the CloudHSM and KMS root-of-trust models?
A: CloudHSM uses a customer-managed root of trust, while KMS uses an AWS-managed root of trust.

Q: An organization must protect a certificate authority’s private key. Why might CloudHSM be selected?
A: CloudHSM provides dedicated hardware-backed protection for the highly sensitive CA private key and allows the customer to retain control of it.

Q: How can CloudHSM and KMS be used together?
A: CloudHSM can act as a custom key store for KMS. CloudHSM protects the master keys, while KMS supplies integration with AWS services.

Q: How do CloudHSM and KMS differ in tenancy?
A: CloudHSM is single-tenant, whereas KMS is multi-tenant.

Q: What FIPS validation level is associated with CloudHSM in this lesson?
A: CloudHSM uses FIPS 140-2 Level 3 validated hardware security modules.

Q: A web server is performing expensive SSL/TLS cryptographic operations. What CloudHSM capability may help?
A: CloudHSM can offload compute-intensive SSL/TLS processing from the web server.

Q: Why might a customer choose a CloudHSM custom key store rather than using CloudHSM alone?
A: The customer may need CloudHSM’s control over the protected keys but also require KMS integration with AWS services.

Q: What is the important control distinction regarding AWS visibility into CloudHSM keys?
A: The customer retains control of the encryption keys, and AWS has no visibility into those keys.

Q: Which service is associated with broad third-party support but not direct AWS service support in the comparison?
A: CloudHSM has broad third-party support, while KMS is the service used for direct integration with AWS services.

Q: Both CloudHSM and KMS provide high availability. What additional availability-related distinction is emphasized for CloudHSM?
A: CloudHSM provides high availability with more customer control over the HSM environment.

Q: An Oracle database uses transparent data encryption and requires protection for its master key. Which service is identified as a suitable option?
A: AWS CloudHSM can store and protect the Oracle transparent data encryption master key.

Practice Questions

Question 1

A financial organization requires a dedicated hardware security module, a customer-managed root of trust, and FIPS 140-2 Level 3 validated hardware. Which service best matches these requirements?

A. AWS KMS using the default key store
B. AWS CloudHSM
C. Amazon S3 server-side encryption
D. AWS Certificate Manager alone

Correct answer: B. AWS CloudHSM

Explanation: The decisive clues are dedicated hardware, customer-managed root of trust, and FIPS 140-2 Level 3 validation, all associated with CloudHSM in this lesson.

Question 2

A company wants to retain control of the HSM protecting its master keys but also needs encryption-key integration with AWS services. Which design should the company choose?

A. Use CloudHSM as a custom key store for KMS
B. Use CloudHSM without KMS
C. Use only an AWS-managed KMS root of trust
D. Store the keys in an application configuration file

Correct answer: A. Use CloudHSM as a custom key store for KMS

Explanation: The custom key store combines CloudHSM’s customer-controlled key protection with KMS’s AWS service integration.

Question 3

An organization needs to protect the private key used by its internal certificate authority. It also wants the key protected by dedicated hardware rather than a multi-tenant key-management infrastructure. Which option is most appropriate?

A. CloudHSM
B. KMS only
C. A web server’s local file system
D. An unencrypted database column

Correct answer: A. CloudHSM

Explanation: Protecting a CA private key is a stated CloudHSM use case, and the dedicated hardware requirement further distinguishes it from KMS.

Question 4

A team’s main requirement is simple encryption-key integration across multiple AWS services. The team does not require dedicated HSM hardware or a customer-managed root of trust. Which service is the most direct fit?

A. CloudHSM
B. AWS KMS
C. An Oracle TDE master key without key management
D. A certificate authority private key store

Correct answer: B. AWS KMS

Explanation: KMS is the better fit when broad AWS service integration is the priority and the scenario does not require CloudHSM’s dedicated hardware and customer-controlled root of trust.

WordPress Metadata

Suggested Slug:
aws-cloudhsm-security-kms-comparison

Meta Description:
Study AWS CloudHSM architecture, customer-controlled keys, FIPS validation, common use cases, and when to combine CloudHSM with AWS KMS.

Tags:
AWS CloudHSM, AWS KMS, AWS security, encryption keys, hardware security modules, FIPS 140-2, key management, AWS Certified CloudOps Engineer