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 https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/keyvault/Azure.Security.KeyVault.Secrets/MigrationGuide.md 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:
dotnet add package Microsoft.Azure.KeyVault --version 3.0.5
NuGet\Install-Package Microsoft.Azure.KeyVault -Version 3.0.5
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.5" />
paket add Microsoft.Azure.KeyVault --version 3.0.5
#r "nuget: Microsoft.Azure.KeyVault, 3.0.5"
// Install Microsoft.Azure.KeyVault as a Cake Addin #addin nuget:?package=Microsoft.Azure.KeyVault&version=3.0.5 // Install Microsoft.Azure.KeyVault as a Cake Tool #tool nuget:?package=Microsoft.Azure.KeyVault&version=3.0.5
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.
This library has been replaced by the following new Azure SDKs. You can read about the new Azure SDKs at https://aka.ms/azsdkvalueprop.
The latest libraries to interact with the Azure KeyVault service are:
It is recommended that you move to the new package.
|.NET||net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows|
|.NET Core||netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1|
|.NET Standard||netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1|
|.NET Framework||net452 net46 net461 net462 net463 net47 net471 net472 net48|
|Tizen||tizen30 tizen40 tizen60|
|Universal Windows Platform||uap uap10.0|
NuGet packages (160)
Showing the top 5 NuGet packages that depend on Microsoft.Azure.KeyVault:
Azure KeyVault configuration provider implementation for Microsoft.Extensions.Configuration. This library has been replaced by the following new Azure SDK. https://www.nuget.org/packages/Azure.Extensions.AspNetCore.Configuration.Secrets It is recommended that you move to the new package.
Provides Key Vault service management (Fluent) capabilities for Microsoft Azure. This package is in low maintenance mode and being phased out. To use the latest Azure SDK for resource management, please see https://aka.ms/azsdk/dotnet/mgmt
Microsoft Azure KeyVault key encryption support. This library has been replaced by the following new Azure SDK. https://www.nuget.org/packages/Azure.Extensions.AspNetCore.DataProtection.Keys It is recommended that you move to the new package. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/d1fa2cb155ab9226f20b87ab0d7a1eb16b8a8b69
Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '39132f3fb1fea9f889894dfe520cf4434d6eca4e' (see contained AppVeyorSettings.json file for build settings).
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 https://aka.ms/azsdkvalueprop. The latest libraries to interact with the Azure KeyVault service are: * https://www.nuget.org/packages/Azure.Security.KeyVault.Keys * https://www.nuget.org/packages/Azure.Security.KeyVault.Secrets * https://www.nuget.org/packages/Azure.Security.KeyVault.Certificates It is recommended that you move to the new package.
GitHub repositories (31)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Azure.KeyVault:
Microsoft Azure PowerShell
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
🏗 The AKEless Build System for C#/.NET
The IoT Edge OSS project
Asp.Net 5.0 & Angular 13 SPA Fullstack application with plenty of examples. Live demo:
Added recommendation to use new libraries listed in the package description.