Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider 2.4.0

Prefix Reserved
Suggested Alternatives


Additional Details

Please note, this package is obsolete as of 9/30/2023 and is no longer maintained or monitored. Refer to our deprecation policy ( for more details.

dotnet add package Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider --version 2.4.0                
NuGet\Install-Package Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider -Version 2.4.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider" Version="2.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider --version 2.4.0                
#r "nuget: Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider, 2.4.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider as a Cake Addin
#addin nuget:?package=Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider&version=2.4.0

// Install Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider as a Cake Tool
#tool nuget:?package=Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider&version=2.4.0                

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:  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 (Microsoft.Data.SqlClient) client driver, you need to use Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider (Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider) instead of this package.

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider:

Package Downloads

Advance Framework Practice by BDO Canada LLP IT Solution practice


Provides some minor abstractions over a few Azure KeyVault and Azure ActiveDirectory API behaviors.


Entity Framework Always Encryted support through Azure Key Vault



GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.0 176,415 10/8/2020
2.2.0 140,859 10/30/2019
2.2.0-beta 2,835 9/20/2018
2.1.0 1,028,980 3/16/2017
2.0.20170208 5,793 2/8/2017
1.0.201501028 52,935 10/28/2015

This version introduces the support for Azure Key Vault Managed HSMs by adding the Managed HSMs endpoint DNS suffixes to the list of default trusted endpoints. For more information about Azure Key Vault Managed HSMs see