Azure Key Vault libraries for .NET

The Azure Key Vault libraries for .NET offer a convenient interface for making calls to Azure Key Vault. For more information about Azure Key Vault, see Introduction to Azure Key Vault.

Libraries for data access

The latest version of the Azure Key Vault library is version 4.x.x. Microsoft recommends using version 4.x.x for new applications.

If you cannot update existing applications to version 4.x.x, then Microsoft recommends using version 3.x.x.

Version 4.x.x

The version 4.x.x libraries for .NET are part of the Azure SDK for .NET. The source code for the Key Vault libraries for .NET is available on GitHub.

Use the following version 4.x.x libraries to work with certificates, keys, and secrets:

Library Reference Package Source
Azure.Security.KeyVault.Certificates Reference Nuget GitHub
Azure.Security.KeyVault.Keys Reference Nuget GitHub
Azure.Security.KeyVault.Secrets Reference Nuget GitHub

Version 3.x.x

The source code for the Azure Key Vault libraries for .NET is available on GitHub.

Use the following version 3.x.x libraries to work with certificates, keys, and secrets:

Library Reference Package Source
Microsoft.Azure.KeyVault.Core Reference Nuget GitHub
Microsoft.Azure.KeyVault.Cryptography Reference Nuget GitHub
Microsoft.Azure.KeyVault.Extensions Nuget GitHub
Microsoft.Azure.KeyVault.WebKey Reference Nuget GitHub
Microsoft.Azure.KeyVault Reference Nuget GitHub

Libraries for resource management

Use the following library to work with the Azure Key Vault resource provider:

Library Reference Package Source
Microsoft.Azure.Management.KeyVault Reference Nuget GitHub