Cloud service · Azure · Updated

Azure Cloud HSM - Azure Cloud HSM is a managed, single-tenant hardware security module service that gives customers administrative control over dedicated HSM clusters accessed privately from an Azure virtual network.

In short

Azure Cloud HSM stores cryptographic keys and performs sensitive cryptographic operations using FIPS 140-3 Level 3 validated hardware. It targets applications running on Azure infrastructure that require standard HSM interfaces, while Microsoft manages hardware maintenance, patching, and cluster availability.

Cloud Services Hub →

8 key features of Azure Cloud HSM

01
Dedicated, single-tenant clusters

Each cluster is allocated to one customer and uses a customer-specific security domain. This provides cryptographic isolation while retaining customer administration of HSM users and keys.

02
FIPS 140-3 Level 3 validated hardware

Cryptographic keys and operations are protected by validated HSM hardware with physical and logical tamper protections. Map the applicable validation and configuration to your workload's compliance requirements rather than treating hardware certification as application certification.

03
Managed three-node availability

Each cluster contains three HSM nodes with automatic synchronization of keys and policies and support for load-balanced cryptographic operations. Microsoft manages hardware maintenance and patching; applications still need appropriate error handling and retries.

04
Private, encrypted connectivity

Application and administrative traffic reaches the cluster through a private endpoint using TLS over Azure Private Link. Configure network access so that only approved application and administration hosts can reach the endpoint.

05
Standard cryptographic interfaces

The SDK supports integration through interfaces including PKCS#11, OpenSSL, JCA/JCE, and CNG/KSP. These interfaces help migrate compatible applications without replacing their cryptographic integration model.

06
Customer-controlled HSM administration

Customers manage HSM identities, permissions, and key operations independently of Microsoft's infrastructure maintenance role. Protect partition-owner private keys offline because they authorize sensitive administrative recovery actions.

07
Hardware-generated audit records

Hardware audit logging records supported HSM management operations and delivers events to Azure Monitor Log Analytics. Human-readable records support investigations, while HSM-signed binary batches, signatures, and certificates support independent authenticity and integrity checks.

08
Regional residency and periodic backups

Cloud HSM does not store or process customer data outside the deployment region, and periodic HSM backups support recovery. Validate supported recovery procedures against your recovery objectives rather than assuming cluster redundancy provides cross-region disaster recovery.

Where Azure Cloud HSM is used

  1. 01
    Migrate existing HSM-dependent applications

    Move compatible applications from on-premises infrastructure, Azure Dedicated HSM, or AWS CloudHSM to Azure virtual machines. Validate provider compatibility, key migration constraints, and performance before cutover; existing keys are not necessarily exportable.

  2. 02
    Protect certificate authority signing keys

    Integrate a compatible certificate authority, such as Active Directory Certificate Services on an Azure VM, with the supported HSM provider. Keep CA private-key operations within the HSM while the CA software manages certificate issuance and lifecycle.

  3. 03
    Protect TLS server private keys

    Configure supported Apache, NGINX, or F5 BIG-IP deployments to use HSM-backed private-key operations. Benchmark connection establishment and confirm the exact server, cryptographic provider, and SDK combination before production deployment.

  4. 04
    Support database transparent data encryption

    Use supported SQL Server EKM or Oracle TDE integrations on virtual machines to protect database encryption key hierarchies. Include HSM connectivity, credentials, and key availability in database startup and restore testing.

  5. 05
    Sign software and documents

    Run compatible signing tools on controlled Azure virtual machines and keep signing private keys in the HSM. Restrict which workloads can request signatures and maintain separate authorization controls around the signing workflow.

How Azure Cloud HSM is priced

Provisioned dedicated HSM capacity

Budget for dedicated provisioned HSM capacity rather than assuming a serverless, per-request key service. Obtain the current Azure Cloud HSM rate and billing unit for the target region and agreement, and account separately for application VMs, private networking, and monitoring ingestion and retention.

Services Azure Cloud HSM works with

The common deployment pattern places an application and the Cloud HSM client software on Azure virtual machines, with a private endpoint providing access to the dedicated HSM cluster. Azure Virtual Network supplies the network boundary, and Azure Private Link carries application and administrative connections over TLS. Separate application and administration hosts where practical, and validate routing, name resolution, and SDK compatibility before enabling production key operations.

Applications integrate through supported cryptographic providers rather than through a general-purpose secret retrieval API. Examples include a Java service using JCE, a certificate authority using a supported Windows key storage provider, and SQL Server on an Azure VM using an EKM integration for TDE. Test service restarts, unavailable connections, credentials, and key access as part of operational readiness.

Azure Monitor Log Analytics provides an investigation destination for hardware audit records covering supported HSM management operations. Set retention and access controls according to security requirements, and preserve signed audit artifacts when independent verification is needed. These infrastructure and monitoring integrations do not make Cloud HSM a native customer-managed-key provider for Azure PaaS services; use Azure Key Vault Managed HSM for supported platform encryption integrations.

Virtual Machines

Azure virtual machines host the application, HSM client daemon, and supported cryptographic libraries. For example, a Java application on a VM can use the Cloud HSM JCE provider for supported signing operations. Validate the SDK's operating system support and keep administrative utilities on a separately controlled host where practical.

Azure Virtual Network

A virtual network provides the private network environment from which application and administration hosts reach the HSM private endpoint. For example, place application VMs and administrative VMs in separate subnets and restrict their permitted network paths. Confirm routing and name resolution for every network that needs access.

Azure Private Link

Cloud HSM uses Azure Private Link through a private endpoint for application and HSM management connections. For example, a VM-based signing service communicates with the HSM cluster over private addressing and TLS rather than a public application endpoint. Test connectivity using the supplied client tools before troubleshooting application-level cryptographic failures.

Azure Monitor

Hardware audit events for supported HSM management operations are delivered to Azure Monitor Log Analytics. For example, security engineers can query these records during an investigation into an unexpected administrative change. Retain the signed binary audit material and associated verification artifacts when independent authenticity and integrity verification is required.

SQL Server on Azure Virtual Machines

Supported SQL Server deployments on Azure VMs can use Cloud HSM through an Extensible Key Management integration for TDE key protection. For example, configure the documented EKM provider and verify that an encrypted database can be reopened after a VM restart. This is an integration with SQL Server running on IaaS, not a native customer-managed-key integration with Azure SQL Database.

Azure Blob Storage

Azure Cloud HSM writes cluster backups to an Azure Blob Storage container and can restore a backup from that container to a new cluster. The cluster uses a managed identity with access to the container for these operations.

Azure DNS

Azure Cloud HSM uses an Azure Private DNS zone to resolve each HSM node's hostname to the cluster's private endpoint IP address. During deployment, you can have Azure create or reuse the zone, link it to your virtual network, and add the node records.

Azure ExpressRoute

Azure Cloud HSM can serve on-premises clients over ExpressRoute private peering. For example, an on-premises signing server can reach the cluster's private endpoint without sending HSM traffic over the public internet.

Azure Firewall

Azure Cloud HSM traffic can pass through Azure Firewall when the firewall is on the path between clients and the cluster's private endpoint. Network rules can permit the required TCP ports from approved client subnets to the endpoint's private IP address.

Azure portal

Azure Cloud HSM has a deployment workflow in the Azure portal that configures the cluster's identity, creates its private endpoint, and optionally links an Azure Private DNS zone. The cluster's Networking page also shows whether its private endpoint connections are approved.

Alternatives to Azure Cloud HSM in other clouds

AWS

AWS CloudHSMAWS CloudHSM

AWS CloudHSM and Azure Cloud HSM use dedicated hardware to store cryptographic keys and perform cryptographic operations, while customers manage their keys and HSM users. AWS customers add or remove HSMs to manage capacity and can back AWS service encryption through KMS custom key stores; Azure manages three-node clusters, and Azure Cloud HSM is not an encryption key endpoint for Azure PaaS or SaaS services.

Compare fact by fact
Azure Cloud HSMAWS CloudHSM
Cluster capacityThree nodes per cluster, Azure-managedCustomer adds or removes HSMs
Platform-service encryption keysNot supported for Azure PaaS/SaaSVia AWS KMS custom key stores
Private network accessPrivate endpoint via Azure Private LinkPer-HSM ENIs in customer subnets
Compared Nov 2026

What is Azure Cloud HSM

2 min read

Azure Cloud HSM provides dedicated hardware security module clusters for applications that require direct control over cryptographic keys, HSM users, and cryptographic operations. Each cluster contains three HSM nodes and has a customer-specific security domain that cryptographically isolates it from other customers. The service uses FIPS 140-3 Level 3 validated Marvell LiquidSecurity hardware.

Applications connect to the cluster through a private endpoint in an Azure virtual network. Application and administrative connections use TLS over Azure Private Link. The HSM client daemon runs on the application virtual machine, discovers HSM addresses, maintains connections, and distributes cryptographic operations across the cluster. Engineers should validate private endpoint connectivity, name resolution, and client configuration before integrating production workloads.

Microsoft supplies the client software, libraries, and management utilities through the Azure Cloud HSM SDK. Supported integration interfaces include PKCS#11, OpenSSL, Java Cryptography Architecture and Java Cryptography Extension, and Windows Cryptography API: Next Generation and key storage providers. Compatibility still depends on the application, operating system, provider, algorithm, and SDK version. Test the actual application workflow rather than assuming that support for a standard interface makes every application configuration compatible.

Customers administer their HSM users, permissions, and keys, while Microsoft manages the underlying service infrastructure, patching, maintenance, and availability. The service synchronizes keys and policies across its three nodes, supports load balancing, and performs periodic HSM backups. These capabilities reduce infrastructure administration but do not replace application retry handling, recovery testing, or a documented disaster recovery plan. Customer data is not stored or processed outside the deployment region.

Protect partition-owner credentials as root-of-trust material. In particular, the partition-owner private key, PO.key, can authorize sensitive recovery actions and should be stored offline with appropriate backups and restricted access. It is not required for normal application runtime access. Separate administrative tooling from application hosts where practical, grant applications only the HSM permissions they need, and test credential recovery procedures before an incident.

Typical workloads include certificate authority private-key protection, TLS private-key operations, document and code signing, and database transparent data encryption. SQL Server and Oracle integrations apply to compatible software deployed on virtual machines. Hardware audit logging supplies hardware-generated records for supported HSM management operations to Azure Monitor Log Analytics, including human-readable records and signed binary audit material for independent integrity verification.

Cloud HSM is not a general secret store, a certificate lifecycle management service, or a customer-provided appliance hosting service. It is also not the customer-managed encryption key integration endpoint for Azure PaaS and SaaS services such as Azure Storage. Use Azure Key Vault Managed HSM for supported platform-service encryption integrations, and a payment-specific HSM offering for operations such as PIN processing and EMV transactions.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.