Amazon Web Services (AWS) has published guidance on migrating cryptographic workloads from AWS CloudHSM to AWS Key Management Service (KMS), highlighting operational and cost benefits. CloudHSM requires hardware management, including provisioning and patching, whereas AWS KMS offers cloud-native key management with built-in high availability and multi-region replication.
The migration process comprises three parts: updating application code to use KMS APIs, rotating or importing keys into KMS, and re-encrypting existing data. AWS states that these steps can be completed gradually without downtime, enabling seamless transition for most CloudHSM workloads.
In digital signature operations, if private keys are exportable, organizations can import them into KMS to maintain continuity. For non-exportable keys, new key pairs are created in KMS while the CloudHSM continues signing legacy data until migration completes. AWS KMS supports post-quantum cryptography algorithms such as ML-DSA, enabling users to strengthen security posture during migration.
Encryption workloads follow a gradual re-encryption approach whereby new data is encrypted under KMS keys, and existing data previously encrypted under CloudHSM keys is re-encrypted in the background. AWS recommends either direct KMS API calls for encrypting plaintext up to 4 KB or usage of the AWS Encryption SDK for envelope encryption of larger data.
AWS highlights durability considerations; imported asymmetric key material does not have the same availability guarantees as keys generated within KMS. To mitigate risk, they recommend multi-region replication of imported keys alongside secure external backups.
A case study from the financial sector shows successful migration reducing operational effort from 25 hours per month managing HSMs to near zero. This transition eliminates the need to manage physical clusters, shifting to a usage-based model and allowing staff to focus more on application development than cryptographic infrastructure.
AWS advises organizations to audit current CloudHSM usage, plan IAM policies carefully, pilot migrations in staging, and maintain audit trails throughout. They also stress the importance of not deleting CloudHSM keys before all data is fully re-encrypted and verified within KMS.
In summary, migrating from AWS CloudHSM to AWS KMS offers measurable improvements in cost-efficiency, operational simplicity, and scalability while enabling adoption of next-generation cryptographic standards. However, it requires careful application code refactoring and re-encryption planning to ensure a smooth transition without impacting data integrity or availability.
Source & further reading
Reduce operational overhead by migrating from AWS CloudHSM to AWS KMS ↗Source published 2026-11-25. Claims and limitations should be checked against the original announcement or research.