Identity & Security
Key Vault
Microsoft.KeyVault
- Resource types
- 7 of 7 supported
- Data plane
- 5 types emulated
- API versions
- 20 newest
2026-05-15 - Ships as
- Plugin 2026.11.01
- Plan
- Starter and above
Data as of 2026-11-20
Resource types
The Resource Types supported by Locally for the Microsoft.KeyVault plugin are shown below. You can click into a type to see more information.
No resource types in Microsoft.KeyVault match .
| Resource type | Latest API version | Control plane | Data plane |
|---|---|---|---|
| Managed HSMsMicrosoft.KeyVault/managedHSMs | 2026-05-15 | Supported | Partial |
| Managed HSM KeysMicrosoft.KeyVault/managedHSMs/keys | 2026-05-15 | Supported | Emulated |
| Managed HSM Private Endpoint ConnectionsMicrosoft.KeyVault/managedHSMs/privateEndpointConnections | 2026-05-15 | Supported | N/A |
| VaultsMicrosoft.KeyVault/vaults | 2026-05-15 | Supported | Emulated |
| Vault KeysMicrosoft.KeyVault/vaults/keys | 2026-05-15 | Supported | Emulated |
| Vault Private Endpoint ConnectionsMicrosoft.KeyVault/vaults/privateEndpointConnections | 2026-05-15 | Supported | N/A |
| SecretsMicrosoft.KeyVault/vaults/secrets | 2026-05-15 | 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.
API versions
The latest API version that Locally supports for Microsoft.KeyVault is 2026-05-15. All 20 versions it supports are listed below.
Stable2
2026-05-15
2026-02-01
Preview3
2026-10-01-preview
2026-06-01-preview
2026-03-01-preview
Deprecated15
2025-05-01
2024-12-01-preview
2024-11-01
2024-04-01-preview
2023-07-01
2023-02-01
2022-11-01
2022-07-01
2022-02-01-preview
2021-11-01-preview
2021-10-01
2021-06-01-preview
2021-04-01-preview
2019-09-01
2016-10-01
Features
- Secrets, with versions, attributes and tags.
- Keys: RSA and EC keys, plus symmetric keys in a Managed HSM, created or imported.
- Cryptographic operations: encrypt, decrypt, sign, verify, wrap and unwrap use real cryptography.
- Certificates: real self-signed X.509 certificates, plus PEM and PFX import.
- Key rotation, on demand or from a rotation policy.
- Soft-delete and purge protection, with recover, purge and automatic purging at the scheduled purge date.
- Backup and restore of secrets, keys and certificates.
- Managed HSM, with keys, local RBAC, and full backup and restore to a storage container.
- Security Domain download, upload and transfer for a Managed HSM, split across the quorum of certificates you supply. Key operations are refused until the HSM is activated by a download or upload.
- Microsoft Entra authentication, with Azure RBAC roles such as Key Vault Secrets User and Key Vault Crypto User.
- Access policies for vaults that don't use Azure RBAC.
- Event Grid events for new versions, near expiry and expiry of secrets, keys and certificates.
- Key Vault references resolve in the Web App and Function App emulators using the app's managed identity.
- Chaos Engineering can throttle, fail, slow down or drop requests, hold a deleted or recovered object in a conflicting state, or simulate a vault or regional outage. Team
Limitations
General
- The Data Plane API behaves the same in all API versions at this time. We plan to fix this in a future release.
Managed HSM Keys
- 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
AllowKeyManagementOperationsThroughARMsetting is stored, but has no effect.
Vault Keys
- Releasing a key isn't supported, since there's no attestation to release it against.
Vault Private Endpoint Connections
- Private endpoints aren't applied to the vault's data plane.
Vaults
- A vault's host name resolves whether or not the vault exists, so a request to one that doesn't returns an
HTTP 503. In Azure, the host name doesn't resolve. - Certificate issuers can be configured but never issue anything. Certificates are always self-signed.
- Firewall rules (
networkAcls) aren't applied to the data plane. Only public network access is. - Managed storage accounts and their SAS definitions are stored, but don't do anything at this time.
- Only Bearer tokens are accepted at this time. Proof-of-Possession tokens aren't.
Examples
Runnable examples from the examples library.