What are the differences between AWS Cloud HSM and KMS?
Asked Answered
T

4

15

I am trying to understand the key management services in AWS (Amazon Web Services) and I can see that Amazon recommends more AWS Key Management Service (KMS) over Cloud Hardware Security Module (Cloud HSM). But I am having a hard time finding the key differences between the two, KMS vs Cloud-HSM.

Can someone please list a few key differences or a comparison of the two technologies?

Tindall answered 8/5, 2021 at 10:11 Comment(0)
B
30
Feature AWS Cloud HSM AWS KMS
Tenancy Single-Tenant Multi-Tenant
High Availability: How to achieve? Create multiple HSMs (manually) over different AZs Managed (automatically) by AWS
Scaling/Performance Responsibility Your responsibility AWS
Key access: Who controls it? You You+AWS
Keys: How to use? Customer code + Safenet APIs AWS Management Console
Keys: Where to use? AWS & Your Network (VPN) AWS
AWS Services Integration A small set of services
(Redshift, Oracle RDS etc.)
Most services fully integrated
Access & Authentication Policy Quorom based K of N AWS IAM Policy
Price $$ $
FIPS 140-2 Compliance Level 3 Level 3

Source: AWS official documentation + multiple courses I took for the AWS exams + practical experience.

Boulder answered 8/5, 2021 at 10:54 Comment(3)
There are other services that integrate with CloudHSM, for example Oracle RDS. Also, I would mention KMS is FIPS 140-2 level 2, while HSM is FIPS 140-2 level 3. The FIPS compliance level is usually the primary reason you would need to use HSM instead of KMS, to meet security and compliance regulations in your industry.Elane
Thanks @Mark B. I have corrected it, based on your feedback and confirming it with the official AWS documentation.Boulder
AWS KMS's FIPS 140-2 certification has been recently upgraded to level 3: aws.amazon.com/about-aws/whats-new/2023/05/…Mia
P
3

Developers describe AWS CloudHSM as "Dedicated Hardware Security Module (HSM) appliances within the AWS cloud". The AWS CloudHSM service allows you to protect your encryption keys within HSMs designed and validated to government standards for secure key management. You can securely generate, store, and manage the cryptographic keys used for data encryption such that they are accessible only by you. AWS CloudHSM helps you comply with strict key management requirements without sacrificing application performance.

On the other hand, AWS Key Management Service is detailed as "Easily create and control the encryption keys used to encrypt your data". AWS Key Management Service (KMS) is a managed service that makes it easy for you to create and control the encryption keys used to encrypt your data, and uses Hardware Security Modules (HSMs) to protect the security of your keys. AWS Key Management Service is integrated with other AWS services including Amazon EBS, Amazon S3, and Amazon Redshift. AWS Key Management Service is also integrated with AWS CloudTrail to provide you with logs of all key usage to help meet your regulatory and compliance needs.

AWS CloudHSM and AWS Key Management Service can be categorized as "Data Security Services" tools.

Some of the features offered by AWS CloudHSM are:

1]Protect and store your cryptographic keys with industry standard, tamper-resistant HSM appliances. No one but you has access to your keys (including Amazon administrators who manage and maintain the appliance).

2]Use your most sensitive and regulated data on Amazon EC2 without giving applications direct access to your data's encryption keys.

3]Store and access data reliably from your applications that demand highly available and durable key storage and cryptographic operations.

On the other hand, AWS Key Management Service provides the following key features:

1]Centralized Key Management

2]Integrated with AWS services

3]Encryption for all your applications

Pyrope answered 8/5, 2021 at 10:24 Comment(1)
AWS CloudHSM provides single tenant key storage giving FIPS 140-2 Level 3 compliance. CloudHSM allows full control of your keys such including Symmetric (AES), Asymmetric (RSA), Sha-256, SHA 512, Hash Based, Digital Signatures (RSA). On the other hand, AWS Key Management Service is a multi-tenant key storage that is owned and managed by AWS. AWS KMS allows supports Customer Master Keys for symmetric key encryption (AES-256-XTS) and asymmetric keys (RSA or elliptic curve (ECC).You can refer this doc for more information encryptionconsulting.com/overview-of-aws-kms-and-aws-cloudhsmPyrope
G
1

The AWS KMS custom key store feature combines the controls provided by AWS CloudHSM with the integration and ease of use of AWS KMS

Q: Why would I need to use a custom key store? Since you control your AWS CloudHSM cluster, you have the option to manage the lifecycle of your CMKs independently of AWS KMS

From official documentation, it seems that KMS is a basic feature, and you can get a senior feature by expanding with CloudHSM.

Gerous answered 22/5, 2021 at 14:44 Comment(0)
E
0

AWS Key Management System (KMS)

  • primary service for encryption in AWS
  • it's a managed service (i.e. AWS manages the encryption hardware, software & keys for you)
  • integrated with many AWS services including EBS, S3, Redshift & CloudTrail
  • FIPS 140-2 Compliance: Level 2

AWS CloudHSM (hardware security module)

  • AWS provisions the hardware & you do everything else
    • AWS cannot access or recover your keys
  • integrated with a limited number of other AWS services
  • FIPS 140-2 Compliance: Level 3 (i.e., more secure)

HSM is more expensive and most used by larger companies, or if you have hard compliance requirements.

Endanger answered 26/8, 2023 at 12:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.