← Back to section · Digital Security

Cloud HSM and Key Custody: Hardware in the Cloud, and How Responsibility Splits

Cloud HSM turns hardware security modules into a rentable service, but renting hardware is not renting security: custody models, certification levels, administrator rights and backup policy decide whether keys are actually safe. This article unstacks cloud HSM custody forms and the division of responsibility.

Published 22 November 2026 · 5 min read · PQ Frontier

Cloud HSM and Key Custody: Hardware in the Cloud, and How Responsibility Splits
AI-generated site artwork
Video explainer · Cloud Security: Workloads and Shared Responsibility

What problem an HSM solves

Keys in software have an innate weakness: to be used, they must appear as plaintext in memory, and memory is a place the operating system, drivers and hypervisor layers can all reach into. A hardware security module (HSM) moves the whole affair into dedicated hardware: keys are generated inside the module and used inside it, while external systems may only submit requests of the form “sign this data with key number 3” and receive the result, never touching the key itself. The module also carries a tamper-evident enclosure and zeroisation mechanisms, so physical intrusion attempts trigger key erasure.

A cloud HSM is the provider turning that hardware into a service rentable by usage. Its significance is that small and mid-sized teams gain custody forms once affordable only to banks and large institutions, without the burden of machine rooms, spares and hardware lifecycle management. But remember: renting an HSM only puts your keys in a harder box. Which way the box’s keyhole faces, and who holds administrative control, is where most of the security actually lives.

Three custody forms

The first form is custody integrated with the cloud KMS: HSMs support the KMS behind the scenes, and the customer faces the KMS API and policy system without managing HSM units directly. Isolation is logical and tenant-level, operations rest entirely with the provider, and cost and onboarding effort are the lowest — right for the great majority of scenarios. Its trust premise is also the clearest: you trust the provider’s operational system, just not key exposure at the software layer.

The second form is the single-tenant dedicated HSM cluster: the customer rents exclusive HSM devices (typically a group spread across availability zones), holds the administrator rights personally, and the provider is responsible only for racking hardware and supplying power and network. Isolation rises from logical to physical grade and the compliance narrative is strongest, which is common in finance and government scenarios; the price is that capacity planning, version upgrades and backup policy all land on the customer, and the operational bar rises steeply.

The third form is customer-owned equipment, hosted in the provider’s facility or reached over a dedicated line. It exists mostly to satisfy specific regulations’ literal requirements about device ownership and physical location; it carries the highest engineering complexity and is rarely a first choice.

How to read certification levels

The most cited yardstick in the HSM world is FIPS 140-3 (and its predecessor 140-2), whose levels 1 to 4 correspond to increasing physical and logical protection; cloud services commonly sit at Level 3 — tamper-evident enclosure, identity-based authentication, and key material entering or leaving only in encrypted form. Three cautions when reading certifications: certification applies to a specific model and firmware version, and a firmware change may move the deployment outside the certificate’s scope; certification proves the module itself meets the standard, not that it is deployed correctly; and different countries and industries run their own cryptographic module regimes, so cross-border business must check which set the target market recognises.

In one sentence: the certification level is a qualifying line, not a report card. Two services both holding Level 3 can differ greatly in real security, and the entire difference sits in the management plane.

Responsibility: the management plane is the main battlefield

In the incident history of HSMs, hardware being broken is rare; management-plane failures are common. First is custody of administrative rights: who holds the initialisation secrets, administrator cards and recovery credentials, and are they split — for example an M-of-N quorum scheme requiring several administrators present to recover or export. If all management credentials sit in one person’s laptop, the HSM’s physical protection is decoration.

Second is backup policy. Keys inside an HSM must be recoverable across devices, or one hardware failure destroys all data; but backed-up key material must exist only wrapped under another high-strength key, and the backup media must be guarded to the standard of the HSM itself. The policy must also rehearse recovery in advance: many teams discover only on the day of a real failure that the restore procedure has never been run end to end.

Third is audit and alerting. HSM management operations — failed logins, key export requests, configuration changes — must land in tamper-evident logs wired into alerting. In the dedicated form this responsibility is the customer’s; in the managed form, confirm which logs the provider exposes to you and how long they are kept.

The clearest way to see the split is as a table: hardware protection and firmware belong to the provider; key generation policy, usage authorisation, backup and recovery rehearsal, and custody of administrator credentials are entirely the customer’s in the dedicated form, and shared with the provider in the managed form. Walking that table item by item before signing is worth more than ten pages of product introduction.

An overlooked detail: availability of keys needs designing too

Custody discussions focus on theft prevention, but the more common production incident is locking yourself out: administrator credentials lost, a quorum that cannot be assembled, a backup restore that was never successfully rehearsed — any one of these turns keys inside an HSM into permanently unreachable random numbers, which from the data owner’s perspective is indistinguishable from the keys being destroyed; the strongest form of an encryption system is, awkwardly, a denial of service against its own owner. Mature custody design therefore treats availability as a goal on the same level as confidentiality: management credentials split across separate locations, recovery procedures genuinely rehearsed on a schedule, and dual control on critical operations instead of single-person shortcuts. When evaluating a cloud HSM service, ask directly: in the past year, how many key-unreachability incidents have you or your customers had, and what was the average recovery time? A provider that can answer with numbers is running custody as engineering; one that talks only about tamper-resistance parameters is still reading from the product manual.

Placing it in the overall architecture

One final note on positioning: a cloud HSM is not a replacement for a KMS but its root. The common architecture is HSMs custodying root keys, the KMS performing envelope encryption and tenant-level policy on top of them, and applications talking only to the KMS. Designs that have applications calling the HSM directly at high frequency usually hit performance and quota walls. Put the HSM where it belongs — at the foundation, low-frequency and high-value — and both its cost and its hardness are spent where they matter.

Tags: Cloud HSMKey CustodyFIPS 140-3Shared Responsibility