Study Guides/AWS Cybersecurity Notes/Cloud HSM: Difference between revisions
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
m (Mflavell moved page Cloud HSM to Study Guides/AWS Cybersecurity Notes/Cloud HSM) |
|||
| Line 7: | Line 7: | ||
:* Validated to FIPS 140-2 Level 3 | :* Validated to FIPS 140-2 Level 3 | ||
:* Generate encryption keys | :* Generate encryption keys | ||
A cloud HSM is a custom keystore. | A cloud HSM is a custom keystore. | ||
| Line 13: | Line 12: | ||
* Allows the storage of keys outside the KMS in side the CloudHSM cluster. | * Allows the storage of keys outside the KMS in side the CloudHSM cluster. | ||
:* Useful if the key material cannot be stored in a shared environment. | :* Useful if the key material cannot be stored in a shared environment. | ||
Cloud HSM is deployed as a cluster: | Cloud HSM is deployed as a cluster: | ||
* The default size is 6 per account per region. | * The default size is 6 per account per region. | ||
* Cloud HSM | * You can add up to 28 HSM's per account | ||
** More HSMs = Better performance. | |||
* With Cloud HSM, synchronization is managed for you by AWS. | |||
* When configuring a cluster you must provide a list of AZ's and subbnets - it will create an ENI on those subnets. | |||
| Line 46: | Line 47: | ||
pre crypto office user (PRECO): | pre crypto office user (PRECO): | ||
* Has a default username and password. | * Has a default username and password. | ||
* Used for the | * Used for the initial connection to the HSM. | ||
* It can only change it's own password and has read only HSM | * It can only change it's own password and has read only HSM access. | ||
| Line 55: | Line 56: | ||
:* Creation and deletion of users | :* Creation and deletion of users | ||
:* password changes | :* password changes | ||
:* Admin | :* Admin functions such as: | ||
::*Zerosise ( | ::*Zerosise (clear) the HSM | ||
::* | ::*Identify the number of HSM | ||
::* | ::*Obtain metadata | ||
::*View the sync status. | ::*View the sync status. | ||
Crypto User (CU): | |||
* Can perform functions within the CloudHSM. | * Can perform functions within the CloudHSM. | ||
:* Encryption and decryption | :* Encryption and decryption | ||
:* Key management | :* Key management | ||
:* | :* Verifying and signing. | ||
:* Generating digests for Keyed Has Message Authentication (HMACs). | :* Generating digests for Keyed Has Message Authentication (HMACs). | ||
| Line 72: | Line 73: | ||
Appliance user: | Appliance user: | ||
* Exists on all HSM | * Exists on all HSM | ||
:* Used for | :* Used for closing and sync actions | ||
:* Has the same permissions as a CO but cannot manage users. | :* Has the same permissions as a CO but cannot manage users. | ||
| Line 88: | Line 89: | ||
* easy integration. | * easy integration. | ||
* if fine | * if fine grained control is required. | ||
* Salability is required. | * Salability is required. | ||
Latest revision as of 02:12, 22 November 2026
Overview
- This is a managed services for data encryption.
- HSM = Hardware Security Module [1]
- Validated to FIPS 140-2 Level 3
- Generate encryption keys
A cloud HSM is a custom keystore.
- Allows the storage of keys outside the KMS in side the CloudHSM cluster.
- Useful if the key material cannot be stored in a shared environment.
Cloud HSM is deployed as a cluster:
- The default size is 6 per account per region.
- You can add up to 28 HSM's per account
- More HSMs = Better performance.
- With Cloud HSM, synchronization is managed for you by AWS.
- When configuring a cluster you must provide a list of AZ's and subbnets - it will create an ENI on those subnets.
Cloud HSM features
- High availability.
- Load balancing.
- Replication.
- Scaling.
- Managed by AWS.
- Integrates with AWS services.
Cloud HSM Use cases
- Key management in tamper resistant hardware.
- Curtail in PKI systems.
- Digital rights management - copyright laws.
- Code signing.
- High security applications.
HSM Users
pre crypto office user (PRECO):
- Has a default username and password.
- Used for the initial connection to the HSM.
- It can only change it's own password and has read only HSM access.
Crypto Office User (CO):
- Has more permissions than PEECO
- Can perform management tasks
- Creation and deletion of users
- password changes
- Admin functions such as:
- Zerosise (clear) the HSM
- Identify the number of HSM
- Obtain metadata
- View the sync status.
Crypto User (CU):
- Can perform functions within the CloudHSM.
- Encryption and decryption
- Key management
- Verifying and signing.
- Generating digests for Keyed Has Message Authentication (HMACs).
Appliance user:
- Exists on all HSM
- Used for closing and sync actions
- Has the same permissions as a CO but cannot manage users.
Cloud HSM advantages
- Provides the highest level of control over keys.
- Tamper resistant
- May be required for compliance (EG FIPS 140-2 level 3)
- Direct control over HSM applications.
When to use KMS instead
- easy integration.
- if fine grained control is required.
- Salability is required.