Please note, this package was officially deprecated on 3/31/2023 and is no longer maintained or monitored. The Azure SDK team encourages you to upgrade to one of the following replacement packages, depending on your use case:
Refer to the migration guide (https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/keyvault/Azure.Security.KeyVault.Secrets/MigrationGuide.md) for guidance on upgrading. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.
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.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard1.4 is compatible. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net452 is compatible. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen30 was computed. tizen40 was computed. tizen60 was computed.|
|Universal Windows Platform||uap was computed. uap10.0 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (164)
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
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.
This library enables .NET Framework applications to use Microsoft Azure Key Vault with Always Encrypted in Microsoft Azure SQL Database and Microsoft SQL Server. The library includes the column master key store provider that allows client applications to access data when a column master key is stored in Microsoft Azure Key Vault. For more information on Always Encrypted, please refer to: https://aka.ms/AlwaysEncrypted. Use this library only with the legacy .NET Framework Data Provider for SQL Server within the System.Data.SqlClient namespace in .NET Framework. If you are using the Microsoft.Data.SqlClient (https://www.nuget.org/packages/Microsoft.Data.SqlClient) client driver, you need to use Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider (https://www.nuget.org/packages/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider) instead of this package.
GitHub repositories (28)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Azure.KeyVault:
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 https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
The IoT Edge OSS project
IdentityModel extensions for .Net
Added recommendation to use new libraries listed in the package description.