Key Vault

Secrets

Microsoft.KeyVault/vaults/secrets

Control plane
Supported
Data plane
Emulated
API versions
20 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/vaults/secrets.

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
2022-07-01 deprecated Supported Emulated
2022-02-01-preview deprecated Supported Emulated
2021-11-01-preview deprecated Supported Emulated
2021-10-01 deprecated Supported Emulated
2021-06-01-preview deprecated Supported Emulated
2021-04-01-preview deprecated Supported Emulated
2019-09-01 deprecated Supported Emulated
2016-10-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

  • Set, get, update, delete and list, including listing a secret's versions.
  • Attributes: reading a disabled secret is refused with SecretDisabled, while nbf and exp don't block a read, as in Azure.
  • Soft-delete: get, list, recover and purge deleted secrets, with purge protection enforced.
  • Automatic purging once a deleted secret's scheduledPurgeDate passes.
  • Backup and restore
  • Role assignments on a single secret are honoured, as well as those inherited from the vault, resource group or subscription.
  • Event Grid events: SecretNewVersionCreated, SecretNearExpiry and SecretExpired.

Examples

Runnable examples from the examples library.

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.