DuoKey
Resources
Article

HSM as a Service vs Cloud HSM vs On-Premises HSM: A Multi-Cloud Buyer's Guide (2026)

Cloud HSM, HSM as a service or on-premises? AWS, Azure, Google, Thales, Entrust, Utimaco, Securosys and Fortanix compared, with FIPS 140-3 status.

DuoKey Team··19 min read

There are three ways to buy a hardware security module (HSM) in 2026, and they answer different questions. An on-premises HSM is an appliance you rack and run. A cloud provider HSM (AWS CloudHSM, Azure Managed HSM or Azure Cloud HSM, Google Cloud HSM) is a dedicated or partitioned HSM inside one provider's network. HSM as a service from an HSM vendor (Thales, Entrust, Utimaco, Securosys, Fortanix) is a hosted HSM you reach from any cloud or data centre. If your workloads run in more than one cloud, the deciding factor is rarely the HSM itself: it is how each cloud's own services reach the key.

This guide compares the three delivery models, sets out what each major provider documents today (tenancy, FIPS 140 status, interfaces), explains why "multi-cloud HSM" usually means a key manager in front of the HSM, and shows where a software-defined, MPC-based approach such as DuoKey SD-HSM fits and where it does not. Provider facts come from their own documentation, reviewed in November 2026, and are linked inline. DuoKey publishes this guide, so we also say where DuoKey is not the right answer.


Table of Contents

  1. The three HSM delivery models
  2. Provider by provider: what is documented today
  3. FIPS 140-3, FIPS 140-2 and "FIPS mode"
  4. Which HSM options work best across multiple clouds?
  5. Thales vs Entrust vs Utimaco for HSMs
  6. Where DuoKey SD-HSM and MPC fit
  7. Decision table
  8. FAQ
  9. References

The three HSM delivery models

On-premises HSMCloud provider HSMVendor HSM as a service
Who owns the hardwareYouThe cloud providerThe HSM vendor
Who runs it day to dayYouProvider runs hardware, you run keys and users (varies by service)Vendor runs hardware; you or the vendor manage the partition
Reachable fromYour network, and clouds over VPN or private linksMainly that provider's network and servicesAny cloud or site, over the network
Native integration with the cloud's own servicesThrough BYOK import or a key managerStrongest for that one cloudThrough BYOK import or a key manager
Typical certificationDevice certificate (FIPS 140, Common Criteria, PCI HSM)Provider states the FIPS level of the underlying HSMsVendor states the FIPS level of the hosted HSMs
Cost modelCapital purchase, support contract, data-centre space, staffHourly per HSM or per instanceSubscription, usually by partition or integration tier
Lead timeProcurement, delivery, ceremonyMinutes to hoursDays

Two clarifications avoid most confusion:

  • A cloud KMS is not a cloud HSM. AWS KMS, Azure Key Vault and Google Cloud KMS are multi-tenant key services. Their HSM-protected keys sit in provider-operated HSMs, and the provider controls the root of trust. A cloud HSM gives you a dedicated partition or cluster with your own credentials. Microsoft's own key management overview draws this line between Key Vault Premium (shared HSMs) and Managed HSM (single tenant, customer-owned security domain).
  • "Managed HSM" and "HSM as a service" are not the same promise. Some services are fully managed and expose only an API (Azure Managed HSM). Others give you a dedicated device that you administer, with the provider looking after hardware (AWS CloudHSM, Azure Cloud HSM, Entrust nShield as a Service in its self-managed option). Ask who holds the administrator credentials and who can restore a backup.

Provider by provider: what is documented today

The table states what each provider publishes. Where a provider's pages disagree with each other, we say so rather than pick the more flattering line. Always ask for the CMVP certificate number that applies to the exact service and firmware you will use.

OfferingModel and tenancyFIPS 140 status as documentedInterfacesSource
AWS CloudHSM (hsm2m.medium)Single-tenant clusters in your VPCFIPS 140-3 Level 3 (certificate #4703); non-FIPS clusters also possible. hsm1.medium (FIPS 140-2, #4218) reached end of support on 31 March 2026, with AWS migrating remaining clusters to hsm2m.medium from January 2026PKCS#11, JCE, OpenSSL, Microsoft KSP/CNG client SDKsAWS compliance validation, deprecation notice
Azure Key Vault Managed HSMFully managed, single tenant, cluster of multiple HSM partitions; customer-specific security domainFIPS 140-3 Level 3 (Marvell LiquidSecurity)Key Vault REST API; external key management for customer-managed-key encryption at rest (wrap and unwrap through an EKM proxy)Managed HSM overview
Azure Cloud HSMSingle-tenant cluster of three HSM nodes; customer has full administrative controlFIPS 140-3 Level 3PKCS#11, OpenSSL, JCA/JCE, CNG/KSP; CA key protection, TLS offload, TDE, code and document signing; no integration with Azure PaaS customer-managed keysAzure Cloud HSM overview
Azure Dedicated HSMThales Luna 7 A790 appliances in your VNetFIPS 140-2 Level 3. Retiring: no new customers, existing customers supported until 31 July 2028Thales Luna client toolsDedicated HSM overview
Google Cloud HSMMulti-tenant HSM keys through Cloud KMS, plus Single-tenant Cloud HSM in a subset of locationsDocs describe FIPS 140-2 Level 3 Marvell LiquidSecurity HSMsCloud KMS API; Cloud EKM for keys held outside GoogleCloud HSM docs, architecture
Thales Luna Cloud HSM (Data Protection on Demand)Vendor-hosted HSM serviceService page describes FIPS 140-2 Level 3 certified hardwarePackaged services for CyberArk, Microsoft AD CS, SQL Server, Oracle TDE, code signingThales Luna Cloud HSM services
Entrust nShield as a ServiceDedicated nShield HSMs hosted by Entrust; self-managed or fully managedProduct page lists FIPS 140-3 with legacy FIPS 140-2 support; nShield 5s module is FIPS 140-3 Level 3 (CMVP #4745)nShield APIs (PKCS#11, CNG, Java)Entrust nShield as a Service
Utimaco General Purpose HSM as a ServicePhysical HSMs in Utimaco data centres, "two DCs per availability zone"Page states FIPS 140-3 Level 3 (and elsewhere "in progress"); Utimaco announced FIPS 140-3 Level 3 for the u.trust GP HSM Se-Series on 12 May 2026PKCS#11, JCE, CNG, SQL EKM, OpenSSL, CXIUtimaco GP HSM as a Service, press release
Securosys CloudHSMDedicated HSMs or shared multi-tenant clusters; Switzerland, Germany, Singapore, USPrimus HSM FIPS 140-2 Level 3 (#4583); FIPS 140-3 Level 3 for firmware 3.1.0 "certification in progress"; Common Criteria EAL4+; EN 419 221-5PKCS#11, OpenSSL, JCE/JCA, Microsoft CNG, RESTSecurosys CloudHSM, Primus certifications
Fortanix DSM SaaSCluster of FX2200 appliances in Equinix data centres, managed by FortanixFX2200 hardware FIPS 140-2 Level 3 (#4139, sunset 21 September 2026); Fortanix documents that SaaS appliances run the latest software, which may not be FIPS validated, in non-FIPS mode, and offers strict FIPS mode for on-premises appliancesPKCS#11, CNG, JCE, KMIP; external key manager for AWS XKS, Google Cloud EKM and Azure Managed HSM external key managementFortanix DSM deployment options

What stands out:

  • Azure has changed the most. Dedicated HSM is closed to new customers, and Microsoft names Azure Cloud HSM as its successor. Microsoft's migration guide warns that existing key material cannot be moved from Dedicated HSM to Cloud HSM or Managed HSM: keys must be recreated and applications repointed. If you run Dedicated HSM, the planning starts now, not in 2028.
  • The choice inside Azure is about API, not strength. Managed HSM and Cloud HSM both state FIPS 140-3 Level 3. Managed HSM integrates with Azure services (Storage, SQL, Microsoft 365 Customer Key) through the Key Vault API. Cloud HSM is for applications that speak PKCS#11 and want to administer the HSM themselves.
  • Vendor services are where hosting jurisdiction becomes a choice. Securosys runs CloudHSM access points in Switzerland and Germany, among others. For a DACH organisation that wants a European HSM operator rather than a US hyperscaler, that matters more than any benchmark.

FIPS 140-3, FIPS 140-2 and "FIPS mode"

NIST moved all FIPS 140-2 validations to the CMVP Historical list on 21 September 2026. NIST also says historical modules can still be bought and used in existing systems; it is the buying organisation's policy that decides whether a new purchase must be FIPS 140-3. Three checks follow:

  1. Ask for the certificate number, then look it up on the CMVP search page. Marketing pages lag behind certificates in both directions, as the table above shows.
  2. Match the firmware. A certificate covers specific firmware versions. A managed service that upgrades firmware ahead of validation may run outside the validated configuration for a while.
  3. Ask whether the service runs in FIPS-approved mode. Validated hardware can be operated in non-FIPS mode. Fortanix documents this openly for DSM SaaS, and AWS lets you create non-FIPS hsm2m.medium clusters. Neither is wrong, but your auditor will ask.

Outside US federal systems, FIPS 140 is usually a contractual or policy requirement rather than a statutory one, including for UK and Nordic buyers. In the EU, remote qualified signature and seal services under eIDAS commonly rely on HSMs certified against EN 419 221-5, which Securosys documents for Primus; Microsoft states eIDAS support for Azure Cloud HSM under the Austrian scheme. NIS2 does not prescribe an HSM: Article 21(2)(h) of Directive (EU) 2022/2555 asks for policies and procedures on cryptography and, where appropriate, encryption. Our NIS2 encryption guide covers what supervisors look for.


Which HSM options work best across multiple clouds?

The honest answer: no single HSM is native to every cloud. Each hyperscaler's own services (storage encryption, databases, Microsoft 365, SaaS) reach keys through that provider's KMS. To keep a key outside the provider, you need the provider's external-key interface, and that interface talks to a key manager, not directly to an HSM.

CloudHow a cloud service reaches a key you holdWhat has to sit behind it
AWSKMS External Key Store (XKS), or a CloudHSM key store inside AWSAn XKS proxy in front of your key manager or HSM
AzureManaged HSM external key management (customer-managed-key encryption at rest; wrap and unwrap only)An EKM proxy, run by you or your vendor, in front of the HSM or key manager that holds the key
Google CloudCloud EKMAn EKM partner service
Microsoft 365Double Key Encryption (HYOK) or Customer Key (BYOK into Azure Key Vault)A DKE service, or a key-generation and import process

External keys come with a cost that the providers state plainly. Microsoft, for example, describes Managed HSM external key management as a last-resort option for legal or contractual custody requirements: every operation adds a round trip to your proxy and HSM, geo-replication and backup of external keys are not supported, and the Managed HSM SLA does not cover the external components. Plan availability for the external side as carefully as for the workloads that depend on it.

So there are three workable multi-cloud patterns:

  1. One HSM per cloud, plus BYOK. Use each provider's HSM or KMS and import keys you generated elsewhere. Simple and fully supported, but each provider holds a usable copy of the key, and you run three key estates with three audit trails.
  2. A cloud-neutral HSM service behind a key manager. Keep keys in a vendor HSM service (Securosys, Thales, Entrust, Utimaco, Fortanix) and connect each cloud through its external-key interface via a key manager that implements XKS, Azure EKM, Google Cloud EKM and Microsoft 365 DKE. The key stays with one HSM operator you chose; latency and availability now depend on the network path to that HSM.
  3. Distributed custody (MPC) across clouds. Split each key into shares on nodes in different clouds or sites, so that no single provider, data centre or administrator holds a complete key. This is the pattern most aligned with "multi-cloud" in the resilience sense, with trade-offs covered in the next section and in our MPC vs HSM comparison.

Patterns 2 and 3 can be combined: hardware custody for the keys where a regulation or auditor requires a certified boundary, MPC for the rest, under one policy and audit layer.


Thales vs Entrust vs Utimaco for HSMs

This is one of the most common HSM comparison questions we see. All three are established HSM manufacturers with general-purpose network HSMs, cloud-hosted services and broad application integrations. The differences that usually decide a shortlist are verifiable and practical:

ThalesEntrustUtimaco
HSM familyLuna (network, PCIe, USB)nShield (Connect, 5s, 5c)u.trust General Purpose HSM (Se-Series), CryptoServer
Hosted serviceLuna Cloud HSM on Data Protection on DemandnShield as a Service (dedicated, self- or fully managed)General Purpose HSM as a Service
Key management above the HSMCipherTrust Manager and Cloud Key ManagerKeyControl (Cryptographic Security Platform Vault)Application packages, for example DKE Anchor for Microsoft 365
Notable certifications in their documentationFIPS for Luna 7; hardware behind Azure Dedicated HSMnShield 5s FIPS 140-3 Level 3 (CMVP #4745)FIPS 140-3 Level 3 for the Se-Series (May 2026); German VS-NfD approval for CryptoServer products
Typical fitEstates already on CipherTrust or Luna; wide packaged integrationsEstates on nShield and KeyControl; code signing and PKIGerman public sector and VS-NfD; payment and general purpose under one vendor

If you already run one of them, the switching cost (key migration ceremonies, client libraries, staff skills) is usually larger than the feature differences. Our comparison pages document each vendor's key-management layer in detail: DuoKey vs Thales, DuoKey vs Entrust, DuoKey vs Utimaco and DuoKey vs Fortanix. For a vendor-neutral starting list, see key management and PKI vendor alternatives.


Where DuoKey SD-HSM and MPC fit

DuoKey is a key management platform, not an HSM manufacturer. It fits the multi-cloud question in two ways.

1. As the key manager in front of an HSM. DuoKey Cockpit exposes one API and console over several key backends. Its documentation names Securosys (Primus and CloudHSM) as the lead HSM partner and lists Thales Luna, Utimaco and Atos TrustWay as PKCS#11 HSMs supported through the same adapter, alongside Azure Key Vault and Managed HSM and cloud KMS backends (DuoKey docs: vault and HSM adapters). On top of the vault, DuoKey provides the cloud-facing interfaces: AWS XKS, Azure Managed HSM external key management, Microsoft 365 DKE and Customer Key through a BYOK import, plus Oracle TDE, SQL Server EKM, Snowflake and Salesforce. The HSM keeps the key; DuoKey adds per-decrypt access policies, quorum approvals and a hash-chained audit log. Our Securosys integration guide shows the architecture.

2. As a software-defined HSM (SD-HSM) built on MPC. The DuoKey KMS can hold keys in an MPC cluster of three or more nodes, where each key is split into shares and operations are computed jointly, so no node holds a complete key (DuoKey docs: vault backends). DuoKey documents cloud, on-premises and hybrid placements of the nodes, for example one each in AWS, Azure and an on-premises data centre, with administrative separation per node (DuoKey docs: Why SD-HSM). Compromising one cloud account or one administrator yields a share, not a key. For OpenBao and Vault, SD-HSM provides auto-unseal and seal wrap without a dedicated unseal appliance (OpenBao + DuoKey SD-HSM).

Where DuoKey is not the answer:

  • If you need a certified hardware boundary for every key. The MPC backend does not claim a FIPS 140 hardware validation. FIPS 140 Level 3 applies only when the vault behind DuoKey is a validated HSM.
  • If you need payment HSM functions (PIN processing, EMV, card issuing). Use a payment HSM or a payment HSM service.
  • If your application needs the full PKCS#11 or KMIP surface. DuoKey's PKCS#11 library and KMIP server implement documented subsets; check them against your client (PKCS#11 coverage).
  • If the lowest possible latency per operation is the priority. Threshold operations need network round trips between nodes, so latency depends on where you place them; measure it on your own network against a local HSM before committing.

Decision table

Your situationStrongest fit
All workloads in one cloud; provider-run hardware is acceptableThat provider's HSM: AWS CloudHSM, Azure Managed HSM or Cloud HSM, Google Cloud HSM
Azure, PKCS#11 applications, you want to administer the HSMAzure Cloud HSM
Azure services and Microsoft 365 Customer Key with a customer-owned root of trustAzure Managed HSM
You run Azure Dedicated HSM todayPlan new keys in Azure Cloud HSM or Managed HSM before 31 July 2028
Several clouds, one HSM operator you choose, European hostingVendor HSM service (for example Securosys CloudHSM) behind a key manager that speaks XKS, Azure EKM and DKE
Existing Thales, Entrust or Utimaco estateStay with that vendor's hosted service, and add a key manager only where its cloud integrations fall short
No single cloud, site or administrator may hold a complete keyMPC custody (for example DuoKey SD-HSM), with an HSM backend for keys that need certified hardware
eIDAS qualified signatures or sealsAn HSM certified to EN 419 221-5, on premises or as a hosted service
Payment PIN and EMV processingA payment HSM or payment HSM service

FAQ

Q: What HSM options work best across multiple clouds?

None of the cloud provider HSMs work natively in another provider's services. For multi-cloud, choose either a vendor-hosted HSM service (Securosys, Thales, Entrust, Utimaco, Fortanix) behind a key manager that implements each cloud's external-key interface (AWS XKS, Azure Managed HSM external key management, Google Cloud EKM, Microsoft 365 DKE), or MPC custody with nodes spread across clouds. Per-cloud HSMs with BYOK also work, but each provider then holds a usable copy of the key.

Q: What is the difference between a cloud HSM and a cloud KMS?

A cloud KMS is a multi-tenant key service; HSM-protected keys sit in provider-operated HSMs and the provider controls the root of trust. A cloud HSM gives you a dedicated partition or cluster with your own credentials, often with PKCS#11 access. Use a KMS for cloud-native encryption at rest, a cloud HSM when you need single tenancy, a customer-owned root of trust or a PKCS#11 application.

Q: Cloud HSM or on-premises HSM?

A cloud HSM removes hardware procurement, data-centre work and most maintenance, and is billed by the hour. An on-premises HSM keeps the device under your physical control and suits air-gapped CAs, latency-critical local workloads and organisations that must not depend on a cloud provider. Many organisations keep an offline root CA on premises and run issuing and application keys in a cloud or hosted HSM.

Q: Is Azure Dedicated HSM still available?

Not for new customers. Microsoft states that Azure Dedicated HSM is being retired, accepts no new onboarding and supports existing customers until 31 July 2028. Microsoft names Azure Cloud HSM as its successor and also points to Managed HSM. Keys cannot be migrated out of Dedicated HSM, so they must be recreated.

Q: Are cloud HSMs FIPS 140-3 Level 3?

It depends on the service. AWS CloudHSM hsm2m.medium (certificate #4703), Azure Managed HSM and Azure Cloud HSM state FIPS 140-3 Level 3. Google's Cloud HSM documentation still describes FIPS 140-2 Level 3 HSMs. Vendor services vary and their pages are not always consistent, so ask for the CMVP certificate number for the exact service and firmware.

Q: How does Utimaco compare to Thales and Entrust for HSMs?

All three offer general-purpose network HSMs, hosted HSM services and a key management layer. Utimaco's documentation emphasises FIPS 140-3 Level 3 for its Se-Series (May 2026) and German VS-NfD approval for CryptoServer products; Thales offers Luna HSMs with CipherTrust key management and a wide catalogue of packaged cloud HSM services; Entrust offers nShield HSMs (nShield 5s at FIPS 140-3 Level 3) with KeyControl. An existing estate usually decides, because migration costs outweigh feature differences.

Q: What is the difference between HSM as a service and managed HSM?

HSM as a service is a hosted HSM you reach over the network; depending on the offer you administer the partition yourself or the vendor does it for you. "Managed HSM" usually means the provider runs everything and you use an API, as with Azure Key Vault Managed HSM. Ask who holds administrator credentials, who can restore backups and where the hardware is located.

Q: Does NIS2 require an HSM?

No. NIS2 Article 21(2)(h) requires policies and procedures on the use of cryptography and, where appropriate, encryption. An HSM is one way to protect keys well; supervisors look for evidence of key ownership, access control, rotation and audit, whatever the custody technology.

Q: Can MPC replace an HSM?

For many cloud and SaaS key-custody use cases, yes: MPC removes the single point of compromise and spreads custody across clouds. It does not replace an HSM where a certified hardware boundary is mandated, for payment HSM functions, or where the workload cannot tolerate network round trips between nodes. Combining both under one key manager is common.


References

Share

Written by

DuoKey Team

Discuss the decisions that matter most to your security programme.

Tell us where control is difficult today. We will help you identify a practical next step.