Cryptographic key management on AWS, with a key ceremony that survives an audit
Your master key deserves more than an improvised procedure. We design the governance, choose the right level of custody with you — KMS or CloudHSM — run the ceremony with custodians and witnesses, and hand you the signed minutes and the evidence your regulator will ask for.
Encrypting is the easy part. The hard part is answering who controls the key that opens everything. Cryptographic key management defines where each key is born, who holds it, how many people are required to use it, how often it rotates and what happens the day a custodian leaves. On AWS that is solved with two levels of custody — AWS KMS for most workloads and AWS CloudHSM when the regulatory framework requires dedicated hardware modules — and with something no console configures: a key ceremony that is designed, witnessed and documented.
What you get with Caleidos
The ceremony is designed before it is performed
Before the first key is generated we define the policy with you: hierarchy, purpose of each key, crypto officer and crypto user roles, who the custodians are, who the witnesses are, and who signs the minutes. The ceremony stops being a technical event and becomes a corporate governance control with named owners.
The right level of custody for each key
Not every key needs dedicated hardware. We map which ones belong in AWS KMS — managed, integrated with AWS services, with automatic rotation — and which require AWS CloudHSM: single-tenant modules validated to FIPS 140-3 Level 3 where you manage the crypto users. With the KMS custom key store both worlds coexist without duplicating operations.
Real dual control and split knowledge
No single person can use or reconstruct the master key. We split knowledge across independent custodians and enable M-of-N quorum authentication on the cluster, so sensitive operations require signatures from several crypto officers. Segregation of duties is wired into the platform, not left to good intentions.
Exclusive, verifiable custody
In CloudHSM the modules are single-tenant and validated to FIPS 140-3 Level 3. AWS keeps only a limited credential to monitor health and take encrypted backups: it cannot read your keys or operate with them. You control HSM user management, and we help you run it.
Full lifecycle, not just day one
Scheduled rotation, revocation, archiving, custodian handover and a rehearsed recovery ceremony. A key with no rotation plan is debt growing quietly: we leave the calendar, the named owners and a tested procedure — not an assumed one.
Availability built for production
We deploy the CloudHSM cluster with at least two modules across separate Availability Zones — three for critical workloads — with automatic encrypted backups. We test an AZ failure before reality does, and connect your applications through PKCS #11, JCE, CNG/KSP or OpenSSL with contained change if you are coming from an on-premise HSM.
Evidence ready for the auditor
We close with the package regulators and auditors expect: signed ceremony minutes, the executed script, the role and custodian matrix, a key inventory with purpose and lifecycle, the log of sealed envelopes and credentials, CloudTrail records and the rotation calendar. It complements the controls covered in Security & Compliance.
How we work
Key governance
We map what each key protects, which regulatory framework applies and who is accountable. Output: key management policy, cryptographic hierarchy, role and segregation-of-duties matrix, and a reasoned decision between KMS and CloudHSM for each key family.
Ceremony script
We write the ceremony step by step: location, participants, witnesses, command sequence, envelope and credential handling, abort and resume criteria, and the format of the minutes. The script is reviewed with Security, Compliance and Internal Audit before a single module exists.
Execution and sealing
We run the ceremony with custodians present: cluster initialization, trust anchoring, creation of crypto officers with quorum enabled, master key generation and sealing of credentials in separate custody. Everything executed is signed into the minutes the same day.
Integration and testing
We connect applications via PKCS #11, JCE or CNG/KSP and, where it applies, the AWS KMS custom key store so services such as S3, EBS or RDS encrypt backed by your own keys. We test performance, concurrency and AZ failover under real load before production is enabled.
Operation and lifecycle
The key does not end on ceremony day. We leave a rotation calendar, a rehearsed recovery ceremony, a custodian handover procedure and cluster monitoring from Caleidos Lens© 24×7, so the control stays alive when the team changes.
Peruvian payments fintech
Production CloudHSM with an audited key ceremony
We designed the key policy and the ceremony script together with the Security and Compliance teams, ran the ceremony with custodians and witnesses appointed by the client, and deployed the multi-AZ CloudHSM cluster with quorum enabled on sensitive operations. Delivery included signed minutes, the custodian matrix, a rotation plan and a rehearsed recovery ceremony. The client team was left owning the operation, with the evidence ready for their next audit.
Let us talk →Tech stack
What we get asked the most
What is a key ceremony?
It is the formal, witnessed and documented procedure through which a master cryptographic key is generated and its control is split across several people. It happens in a single session, following a script written in advance, with custodians receiving independent fragments or credentials, witnesses attesting to what happened, and minutes everyone signs at the end. Its value is not technical: it is verifiable proof that no single person could ever know the key, and that the control existed from the first minute of that key.
Why does the ceremony matter beyond the technical side?
Because the HSM proves the key is protected today, but only the ceremony proves how it was born and who controls it. If the key was generated on an individual laptop and then loaded into the module, the hardware is still flawless and the control is still broken: that person could have copied it. The ceremony answers the questions an auditor, a regulator or the board ask when something goes wrong — who was present, who holds what, how many signatures are required, what happens if someone resigns — and no configuration answers those.
What is the difference between AWS KMS and AWS CloudHSM?
AWS KMS is a managed, multi-tenant service, excellent for encrypting AWS services with minimal operational effort and automatic rotation. AWS CloudHSM gives you dedicated single-tenant hardware modules, validated to FIPS 140-3 Level 3, where you manage crypto users and keys. CloudHSM is chosen when the regulatory framework or the contract requires exclusive custody, demonstrable dual control and an auditable ceremony. They also combine: the KMS custom key store lets services such as S3, EBS or RDS encrypt backed by your keys in CloudHSM.
Can AWS see my keys?
In CloudHSM, no. AWS keeps a limited credential that lets it monitor cluster health and run encrypted backups, and nothing else: it cannot read key material or perform operations with your keys. HSM user management is yours. That model is precisely what makes exclusive custody defensible in front of a regulator.
What use cases does an HSM apply to?
The most frequent among our clients are private certificate authorities and internal certificate issuance, digital signing of documents and transactions, encryption of databases and backups with keys under your control, tokenization of sensitive data, and custody of the master keys protecting the rest of the cryptographic hierarchy. The common denominator is the same: keys whose exposure would be a major incident, and whose control you have to be able to demonstrate to a third party.
How often should keys be rotated?
It depends on purpose and on the framework that applies to you, not on a universal number. Data keys typically rotate more often than master keys, and master keys rotate through a formal ceremony rather than a button. What matters is that an agreed calendar exists, with named owners and a tested procedure: the rotation that was never rehearsed is the one that fails the day you need it.
What happens if we lose a custodian credential?
It is solved by design, not improvisation. From the start we define how many custodians exist and how many signatures are required, so the absence of one neither blocks operations nor exposes the key. We also leave a custodian handover procedure and a rehearsed recovery ceremony, so replacing a person is a planned task rather than a crisis.
Can we migrate from an on-premise HSM?
Yes, and it is the most common scenario in banking and insurance. If your applications already use PKCS #11, JCE or CNG/KSP, the application-side change is contained. The real work is moving the governance: rebuilding the key hierarchy, redefining custodians and running the ceremony in the new environment with the same formality. We handle it as part of the AWS migration process.
How long does an AWS CloudHSM implementation take?
The technical cluster deployment and integration take a few weeks. The timeline is set by governance: agreeing the key policy, appointing custodians and witnesses, aligning Security, Compliance and Internal Audit, and scheduling the ceremony. In regulated projects we typically work within a six to ten week range end to end. Let us talk and we will estimate it on your case.
What evidence do we end up with for the audit?
Signed ceremony minutes from custodians and witnesses, the executed script with any deviations recorded, the role and segregation-of-duties matrix, a key inventory with purpose and lifecycle, the log of sealed envelopes and credentials, CloudTrail records, and the rotation and recovery calendar. It is the package that lets you answer an audit without reconstructing the story from scratch.
Ready to get started?
Tell us about your challenge. No pitch, no commitment. Just understanding.
Talk to us about your key ceremony