Microsoft.Azure.KeyVault 2.0.4-preview

Azure Key Vault enables users to store and use cryptographic keys within the Microsoft Azure environment. Azure Key Vault supports multiple key types and algorithms and enables the use of Hardware Security Modules (HSM) for high value customer keys. In addition, Azure Key Vault allows users to securely store secrets in a Key Vault; secrets are limited size octet objects and Azure Key Vault applies no specific semantics to these objects. A Key Vault may contain a mix of keys and secrets at the same time, and access control for the two types of object is independently controlled. Users, subject to appropriate authorization, may: 1) Manage cryptographic keys using Create, Import, Update, Delete and other operations 2) Manage secrets using Get, Set, Delete and other operations 3) Use cryptographic keys with Sign/Verify, WrapKey/UnwrapKey and Encrypt/Decrypt operations. Operations against Key Vaults are authenticated and authorized using Azure Active Directory. Key Vault now supports certificates, a complex type that makes use of existing key and secret infrastructure for certificate operations. KV certificates also support notification and auto-renewal as well as other management features.

Suggested Alternatives


Additional Details

Please note, a newer package  is available Azure.Security.KeyVault.Secrets as of [10/31/2019].
While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade.
See for Migration guide and more details.

Depending on what functionality of Key Vault you are using (Keys, Secrets or Certificates), please use one of the following libraries:

This is a prerelease version of Microsoft.Azure.KeyVault.
There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Azure.KeyVault -Version 2.0.4-preview
dotnet add package Microsoft.Azure.KeyVault --version 2.0.4-preview
<PackageReference Include="Microsoft.Azure.KeyVault" Version="2.0.4-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Azure.KeyVault --version 2.0.4-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Azure.KeyVault, 2.0.4-preview"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Azure.KeyVault as a Cake Addin
#addin nuget:?package=Microsoft.Azure.KeyVault&version=2.0.4-preview&prerelease

// Install Microsoft.Azure.KeyVault as a Cake Tool
#tool nuget:?package=Microsoft.Azure.KeyVault&version=2.0.4-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This is a preview release of the Azure Key Vault .NET SDK, based on version 2015-06-01 of the Azure Key Vault REST API. For migration guide from version 1.0, please visit

NuGet packages (148)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.KeyVault:

Package Downloads
Azure KeyVault configuration provider implementation for Microsoft.Extensions.Configuration. This library has been replaced by the following new Azure SDK. It is recommended that you move to the new package.
Provides Key Vault service management (Fluent) capabilities for Microsoft Azure.
Microsoft Azure KeyVault key encryption support. This library has been replaced by the following new Azure SDK. It is recommended that you move to the new package. This package was built from the source code at
Microsoft Azure Key Vault Extensions Class Library This library has been replaced by the following new Azure SDKs. You can read about the new Azure SDKs at The latest libraries to interact with the Azure KeyVault service are: * * * It is recommended that you move to the new package.
Cross-platform build automation system Signed by from repository '' commit 'a69c742b7862fb624781dc20b2d9b8c088e98410' (see contained AppVeyorSettings.json file for build settings).

GitHub repositories (35)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Azure.KeyVault:

Repository Stars
Orleans is a cross-platform framework for building distributed applications with .NET
Microsoft Azure PowerShell
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
SharePoint / Office 365 Developer Patterns and Practices - Legacy solutions
The host/runtime that powers Azure Functions

Version History

Version Downloads Last updated
3.0.5 10,713,186 2/3/2020
3.0.4 8,327,052 7/20/2019
3.0.3 5,995,906 1/23/2019
3.0.2 1,982,405 11/14/2018
3.0.1 5,101,111 10/27/2018
3.0.0 3,554,535 6/28/2018
3.0.0-alpha 60,575 3/29/2018
2.4.0-preview 239,606 11/28/2017
2.3.2 16,001,088 7/5/2017
2.3.0-preview 43,761 5/27/2017
2.2.1-preview 76,140 5/5/2017
2.2.0-preview 3,549 4/25/2017
2.1.0-preview 17,486 4/7/2017
2.0.6 2,595,324 12/7/2016
2.0.5-preview 2,943 11/23/2016
2.0.4-preview 3,720 11/9/2016
2.0.3-preview 5,039 10/20/2016
2.0.2-preview 55,887 9/22/2016
2.0.1-preview 12,652 8/30/2016
2.0.0-preview 5,265 8/29/2016
1.0.0 2,370,598 6/18/2015
0.9.1-preview 4,292 4/28/2015
0.9.0-preview 1,708 4/9/2015
Show less