Skip to content
Aadil Nabi.
All articles

Article · 7 min read

Inside an HSM key ceremony: PED keys, custodians, and handover

A key ceremony exists so that no single person ever controls the key. What actually happens in the room, from initialising a Luna HSM to custodian handover.

2 Oct 2026hsmkey-ceremonyoperations

A key ceremony looks like paperwork and ritual, and that is exactly the point. The whole reason it exists is to guarantee that no single person ever holds enough to control the key on their own. Split knowledge and dual control are the properties you are building, and the ceremony is how you prove you built them.

On a Thales Luna HSM the authentication model is the first decision. Password authentication is simpler, but for high-assurance deployments you use PED keys: physical trusted-path devices that hold the authentication secrets, so the credentials never pass through a keyboard or a screen. The PED keys themselves become assets you have to label, store, and account for.

The sequence is deliberate. Initialise the HSM and set the security officer role. Create the partition that will hold the customer's keys. Then generate or activate the key material and assign the custodian PED keys, splitting authority across several people so that a quorum, an M of N, is required to activate the partition later. Each PED key is labelled, logged, and sealed.

Then you test, before anyone leaves the room. Activate the partition with the custodian keys, confirm the application can reach the key through its connector, and confirm it fails correctly when a custodian is missing. A ceremony that was never exercised is a document, not a control.

Finally, handover. The custodians take their sealed PED keys, the security officer credentials are secured separately, and the whole thing is written down: who holds what, what the quorum is, and how recovery works. Months later, when someone has left and a key needs to be activated, that record is the difference between an operation and an incident.

Keep going

There's usually a recorded series on this.

I work through these topics hands-on in the training series, free to watch.