Key Vault

Managed HSM Keys

Microsoft.KeyVault/managedHSMs/keys

Control plane
Supported
Data plane
Emulated
API versions
12 2 stable
Ships in
Plugin Microsoft.KeyVault 2026.11.01
Plan
Starter and above

Data as of 2026-11-20

API versions

The API versions Locally supports for Microsoft.KeyVault/managedHSMs/keys.

API versionStatusControl planeData plane
2026-10-01-preview preview Supported Emulated
2026-06-01-preview preview Supported Emulated
2026-05-15 stable Supported Emulated
2026-03-01-preview preview Supported Emulated
2026-02-01 stable Supported Emulated
2025-05-01 deprecated Supported Emulated
2024-12-01-preview deprecated Supported Emulated
2024-11-01 deprecated Supported Emulated
2024-04-01-preview deprecated Supported Emulated
2023-07-01 deprecated Supported Emulated
2023-02-01 deprecated Supported Emulated
2022-11-01 deprecated Supported Emulated

Note: This is generated from the latest version of the plugin (2026.11.01) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

Features

  • RSA, EC and symmetric keys, created or imported.
  • Encrypt, decrypt, sign, verify, wrap and unwrap with the same real cryptography as a vault.
  • AES operations: key wrap with A128KW, A192KW and A256KW, and encryption with AES-GCM and AES-CBC.
  • Random bytes
  • Activation: key operations are refused until the HSM's security domain has been downloaded or uploaded.
  • Key rotation and rotation policies.
  • Soft-delete, with recover and purge.
  • Local RBAC: built-in roles such as Managed HSM Crypto User and Managed HSM Crypto Officer, plus custom role definitions, enforced on each operation.
  • Full backup and restore to a storage container in Locally, using a SAS token or the HSM's user-assigned managed identity.
  • Selective key restore from a full backup.
  • Chaos Engineering, separately from Key Vault. Team

Limitations

  • A backup can only be written to, or restored from, a storage account in Locally.
  • Keys aren't held in hardware (they're held in software, in Locally's own key store), and the security domain protects a key Locally generated.
  • Releasing a key isn't supported, since there's no attestation to release it against.
  • The AllowKeyManagementOperationsThroughARM setting is stored, but has no effect.

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.