Edit

Azure Integrated HSM overview

Azure Integrated HSM is a hardware security module (HSM) cache and crypto offload designed to enhance the security and performance of cryptographic operations in virtual machines. For customers who heavily rely on cryptography and have performance-intensive workloads, Azure Integrated HSM provides a secure hardware-backed way to store cryptographic keys for fast and secure usage.

Starting with new Azure server hardware AMD D Series v7 and AMD E series v7, Microsoft-designed HSM chips are embedded directly on servers, meeting Federal Information Processing Standards (FIPS) 140-3 Level 3 standards. These tamper-resistant chips keep encryption keys within secure hardware boundaries, eliminating latency and exposure risks. The integrated HSM operates transparently by default for supported services like Azure Key Vault and Azure Storage encryption, providing hardware-enforced trust without more configuration. This integration ensures that cryptographic operations benefit from hardware-level security isolation while maintaining the performance and scalability of cloud services.

Benefits of Azure Integrated HSM

  • Lower latency
    • Reduce network round-trips to Azure Key Vault or Managed HSM by performing cryptographic operations locally on the same node as the Virtual Machine (VM)
  • Keys remain protected
    • Keys stored in Azure Integrated HSM aren't exposed in clear text and remain within a FIPS 140-3 Level 3 HSM boundary
  • Memory protection
    • Protect against memory and crash-dump attacks
  • Built-in infrastructure
    • Azure Integrated HSM is attached to each supported node as part of Azure infrastructure
  • No extra cost
    • Available without extra cost

Supported operations

The following cryptographic operations are supported for Azure Integrated HSM:

  • AES - Encrypt + Decrypt (BCRYPT_AES_ALGORITHM)
    • AES-CBC (BCRYPT_CHAIN_MODE_CBC)
      • 128-bit
      • 192-bit
      • 256-bit
    • AES-GCM (BCRYPT_CHAIN_MODE_GCM)
      • 256-bit
    • AES-XTS (BCRYPT_XTS_AES_ALGORITHM)
      • 512-bit
  • RSA (BCRYPT_RSA_ALGORITHM)
    • Decrypt + Sign
      • RSA 2048 (2k)
      • RSA 3072 (3k)
      • RSA 4096 (4k)
    • Unwrap
      • RSA 2048 (2k)
  • ECC
    • ECDSA - Sign (BCRYPT_ECDSA_ALGORITHM)
      • ECC P256 (BCRYPT_ECDSA_P256_ALGORITHM)
      • ECC P384 (BCRYPT_ECDSA_P384_ALGORITHM)
      • ECC P521 (BCRYPT_ECDSA_P521_ALGORITHM)
    • ECDH - Secret Exchange (BCRYPT_ECDH_ALGORITHM)
      • ECC P256 (BCRYPT_ECDH_P256_ALGORITHM)
      • ECC P384 (BCRYPT_ECDH_P384_ALGORITHM)
      • ECC P521 (BCRYPT_ECDH_P521_ALGORITHM)
  • Key Derivation
    • HKDF ("HMAC-based Key Derivation Function") (BCRYPT_HKDF_ALGORITHM)
      • As defined in IETF RFC 5869, and referred to in NCrypt by the BCRYPT_HKDF_ALGORITHM string

Availability and pricing

Azure Integrated HSM is now available to use on the AMD v7 generally available platform in all the AMD v7 supported regions. This is supported for the general purpose Dasv7-series, Dadsv7-series, Easv7-series, and Eadsv7-series for 8 vCores and higher for Trusted Launch VMs. The Azure Integrated HSM general availability is for Windows support only, with Linux support coming soon. This feature is offered at no extra cost.

Our GitHub repository has customer samples and instructions for more details on how to use Azure Integrated HSM.

Limitations

  • Windows guest support only
    • Windows guest image with WS2025 or WS2022 can support AziHSM. Visit our GitHub page for more instructions on installing the guest driver and the key service provider required for interfacing with the device.
  • Requires customer opt‑in—not enabled by default for all SKUs.
  • Supported on select VM SKUs only
  • Minimum VM size requirement
    • Azure Integrated HSM is only supported for sizes 8vCores and higher
  • Trusted Launch security type supported only
    • This feature is only available for Trusted Launch security type. Standard and Confidential aren't supported.
  • No persistence of locally cached keys across VM deallocation and reboot scenarios
    • Azure Integrated HSM is a local key cache that is designed to support ephemeral cryptographic operations. Keys will not persist across reboots of the virtual machine.

What's next