Partager via


Azure Key Vault libraries for Java

The Azure Key Vault client libraries for Java 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 libraries 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 1.x.x.

Version 4.x.x

The version 4.x.x client libraries for Java are part of the Azure SDK for Java. The source code for the Azure Key Vault client libraries for Java 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 Maven GitHub
azure-security-keyvault-keys Reference Maven GitHub
azure-security-keyvault-secrets Reference Maven GitHub

Version 1.x.x

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

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

Library Reference Package Source
microsoft-azure-keyvault-core Reference Maven GitHub
microsoft-azure-keyvault-cryptography Reference Maven GitHub
microsoft-azure-keyvault-extensions Reference Maven GitHub
microsoft-azure-keyvault-webkey Reference Maven GitHub
microsoft-azure-keyvault Reference Maven GitHub

Libraries for resource management

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

Library Reference Package Source
azure-resourcemanager-keyvault Reference Maven GitHub