// insights

One HSM, many consumers: Luna as the root of trust for everything

Contents

There is a moment in every Luna estate’s life when it stops being “the CA’s HSM” and becomes “the HSM”. The privileged-access vault team asks for a partition. Then the database team wants TDE master keys off the database servers. Then someone stands up HashiCorp Vault and reads about auto-unseal. Suddenly one appliance pair is the root of trust for the entire organisation — and nobody actually decided that. This chapter is about deciding it: the genuine case for consolidating onto one Luna estate, the risks that come bundled with it, and the layout, ownership and capacity questions you need answered before the fourth consumer connects.

If you’re new to the platform, start with our Luna HSM design and operational guide. Here we assume the estate exists and ask what happens when everything depends on it.

The case for one root of trust

The consolidation argument is real, and it is mostly not about money. An organisation that lets each system solve key protection its own way ends up with the alternative: the CA’s keys in one HSM bought years ago, the vault’s server key in a software keystore “temporarily”, TDE keys in a wallet file on the database server, Vault unsealing from a cloud KMS nobody assessed, and code-signing keys on a build agent. Five keystores, five operational models, five answers to “who can reach this key?”, and at least three of them wrong.

Consolidating onto one Luna estate buys you:

  • One assurance boundary. Every root key in the organisation sits behind the same FIPS-validated hardware, the same tamper envelope, the same firmware assurance story. When an IRAP assessor asks where key material lives, the answer is one sentence, and the evidence pack for the ISM’s cryptographic key management expectations is written once.
  • One operational discipline. One set of custodians, one ceremony format, one backup and restore procedure, one monitoring integration into the SIEM. Key management competence is scarce; concentrating it beats diluting it across five teams.
  • One audit surface. Appliance logs, partition-level role events and client registrations all land in one place. “Show me every system that can use a key” becomes a lunash query, not an archaeology project.

For Australian government and regulated-PII environments, this is usually the right call. The counter-argument is not “don’t consolidate” — it’s “consolidate with your eyes open”, because every one of those benefits has a shadow.

What consolidation actually costs

Three costs, and none of them appear on the invoice.

Blast radius. Partitions isolate keys, roles and policies — they do not isolate fate. Every consumer shares the appliance’s hardware, firmware and administration plane. A tamper event, a botched firmware upgrade or a fat-fingered hsm factoryreset is now an organisation-wide incident: the CA stops issuing, the vault stops handing out credentials, the databases can’t open their encryption keys and Vault can’t unseal. Before consolidation, those were four separate bad days. After it, they are one very bad day, and your HA and backup design is the only thing standing between you and it.

Change-window contention. A firmware upgrade is an appliance-wide event — you cannot patch one partition. On a single-consumer estate, you negotiate an outage window with one team. On a five-consumer estate, you negotiate with five, and their maintenance calendars do not overlap: the CA team wants weekends, the database team owns weekends, the PAM platform is 24×7 by definition. Estates like this drift into “we’ll do firmware next quarter” — for six consecutive quarters. The fix is contractual, not technical: a standing, pre-agreed maintenance window that every consumer accepts as a condition of onboarding, enforced by the estate owner. Which requires there to be an estate owner; more on that below.

Noisy neighbours. Partitions are a security boundary, not a QoS mechanism. Every partition shares the appliance’s crypto engine, and there is no per-partition rate limiting or performance reservation on the appliance. A CI pipeline that starts hammering the code-signing partition, or a badly written application looping on signature calls, competes directly with the issuing CA’s OCSP signing and the vault’s key operations. Requests queue; every consumer’s latency rises together. You will not see this on day one, because day-one load is trivial. You will see it the day someone automates something.

A partition layout for four consumers

The partition-per-consumer pattern from our partition strategy chapter is the backbone of a shared estate. Applied to the common four-consumer case — CyberArk, Microsoft ADCS, HashiCorp Vault and database TDE — a layout that ages well looks like this:

PartitionConsumerAccess patternNotes
cyberark-prodCyberArk vault server keyRare but critical — session at startup, safe-key operations in flightCO credential lives only in the vault’s configuration; shares with nothing
adcs-rootcaOffline root CACeremonies only, a few times a yearDeliberately excluded from HA; consider keeping off the shared pair entirely
adcs-issuingIssuing CA(s)Steady signing load, spiky at renewal wavesHA member partition, activation policies for unattended startup
vault-unsealHashiCorp Vault auto-unsealTiny — seal/unseal and occasional wrap operationsLow ops volume, maximum criticality: no partition, no Vault
db-tde-prodSQL Server EKM / Oracle TDE master keysKey-open at instance start, periodic re-keyOne partition per database platform, not per instance
nonprod-sharedUAT/test tiers of the aboveUnpredictableWhere destructive rehearsal happens; never in the prod HA groups

Six partitions, six independent Crypto Officer credentials, six policy sets. Notice what the table encodes: the consumers differ wildly in access pattern, and that drives everything downstream. Vault’s unseal partition might see a handful of operations a day; the issuing CA signs continuously; TDE is bursty around instance restarts. Putting them behind separate partitions doesn’t fix performance contention — but it means you can attribute load per client, set policies per consumer, and evict or migrate one consumer without touching the others’ keys.

Performance ceilings and when to add appliances

Luna Network HSM 7 appliances are sold in three performance tiers, and Thales publishes the signing figures: roughly 1,000 RSA-2048 signatures per second on the entry tier (A700/S700), 5,000 on the mid tier (A750/S750) and 10,000 on the top tier (A790/S790). Two things about those numbers matter more than the numbers themselves.

First, they are best-case figures for one algorithm at one key size. Move to RSA-4096 — which is where CA hierarchies and code-signing policies in regulated environments increasingly sit — and throughput drops by a large multiple; RSA cost grows steeply with modulus size, and Thales does not publish per-tier RSA-4096 figures, so treat the published numbers as an upper bound and benchmark your own workload on your own tier before you commit an SLA to it. ECC signing is dramatically cheaper than RSA-4096 at comparable strength, which is an argument worth having with your PKI team quite apart from the HSM.

Second, the ceiling is shared. Consumers don’t get a tier each; they get a slice of one engine, and the slicing is first-come, first-served. As aggregate load approaches the ceiling, requests queue inside the appliance and client-side latency climbs for everyone at once — the classic symptom is the CA team and the database team raising “HSM is slow” tickets in the same week, each convinced the other is the problem. Practical triggers for adding hardware, in the order they usually arrive:

  • Latency-sensitive consumers start missing budgets during another consumer’s bursts — before average utilisation looks worrying. Watch p95 operation latency per client, not appliance CPU.
  • A new consumer’s workload is qualitatively different — a signing service doing thousands of RSA-4096 operations per hour doesn’t belong on the appliance pair that unseals Vault and starts the CyberArk vault. Give bulk-throughput workloads their own appliances and keep the “rare but critical” consumers on a quiet pair.
  • The change-window negotiation stops converging. When you can no longer find a firmware window five teams accept, that is a capacity problem wearing a calendar costume — split the estate along consumer lines so windows only need two or three signatures.

Scaling out is architecturally cheap on this platform: HA groups distribute load across member appliances as well as providing failover, so “add an appliance to the group” is the standard first response — provided your partitions were designed for HA from the start.

Who owns the estate

The moment two teams share an appliance, “the HSM” needs an owner that is neither of them. A pattern we see repeatedly in regulated environments: the estate is run by whichever team bought it first — usually the PKI team — and every other consumer is a guest in their house. That works until the first conflict of interest: a firmware upgrade the CA team wants deferred, a partition the vault team needs urgently, a performance dispute between two guests. The landlord is also a tenant, and everyone knows it.

The structure that survives audit and office politics alike is a small platform function — call it crypto services — that owns the appliances, the lunash credentials, the HSM Security Officer role, the monitoring, the firmware roadmap and the maintenance calendar, and treats every consumer identically: a partition, a policy set agreed at onboarding, a named Partition Security Officer on the consumer side, and a standing change window accepted in writing. Consumers own what happens inside their partition; the platform owns everything below it. Separation of duties falls out naturally — the people who can reboot the appliance can’t use anyone’s keys, and no consumer can affect another’s availability. In a small organisation this “function” can be two people and a rota; what matters is that the role exists on paper before the second consumer connects, because retrofitting governance onto a shared estate is a negotiation with everyone who already has keys in it.

HA for a shared estate: one group per partition

High availability on Luna is configured per partition, not per appliance: an HA group is a set of member partitions on different appliances, kept in sync by cloning within a shared domain — what actually replicates in a Luna HA group is its own chapter. On a shared estate that has a compounding consequence: six production partitions means six HA groups to build, monitor and failover-test, each with its own synchronisation state and its own client-side configuration on the consumer’s servers.

The trap is uneven coverage. Because HA is per partition, it is entirely possible — and depressingly common — for the estate to be “highly available” for the consumers that set it up carefully and silently single-instance for the ones that didn’t. The appliance pair is redundant; the db-tde-prod partition exists on only one of them, because nobody finished the job. The platform owner’s onboarding checklist is the control here: no production partition goes live until its HA group spans both appliances, sync is verified, and a failover has been demonstrated with the consumer’s own application driving load. The consumers also disagree about HA on purpose: the offline root CA’s partition must not replicate anywhere, while the issuing CA’s and CyberArk’s absolutely must. Per-partition HA is what lets one estate hold both answers — as long as someone is checking each partition got the answer it needs.


Where this leaves you

You now have the estate-level view: a partition map for multiple consumers, capacity triggers, an ownership model and per-partition HA obligations. The next problem is that “connect a consumer” is never generic — every one of these systems has its own integration quirks, its own client stack and its own failure behaviour when the HSM disappears. We take them one at a time, starting with the one whose entire startup depends on the HSM: HashiCorp Vault auto-unseal over PKCS#11 is the next chapter. The series so far lives at The Luna Field Guide.

// cryptographic hsm solutions
Running hardware you can’t afford to get wrong?

Securitribe designs, deploys and operates Thales Luna HSM estates — partitions, HA, key ceremonies and DR that stand up to audit.

Explore Cryptographic HSM SolutionsBook a strategy call →
// more insights

Keep reading