Azure Key Vault libraries for Python

The Azure Key Vault client libraries for Python 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 Python are part of the Azure SDK for Python. The source code for the Azure Key Vault client libraries for Python is available on GitHub.

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

Library Reference Package Source
azure-keyvault-administration Reference PyPI GitHub
azure-keyvault-certificates Reference PyPI GitHub
azure-keyvault-keys Reference PyPI GitHub
azure-keyvault-secrets Reference PyPI GitHub

Version 1.x.x

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

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

Library Reference Package Source
azure-keyvault Reference PyPI GitHub

Libraries for resource management

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

Library Reference Package Source
azure-mgmt-keyvault Reference PyPI GitHub