azure-mgmt-keyvault
Microsoft Azure Keyvault Management Client Library for Python
What it is and what it does
This is the Microsoft Azure Keyvault Management Client Library for Python. It provides programmatic access to create, update, delete, and manage Azure Key Vault resources—including vaults, encryption keys, secrets, and managed hardware security modules (HSMs)—via the Azure Resource Manager API. The package wraps Azure's REST API into Python objects and operations, allowing developers to automate Key Vault infrastructure as code.
The library depends on isodate, azure-mgmt-core, and typing-extensions. It requires Python 3.9+ and Azure Active Directory authentication via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Recent versions (13.0.0+) introduced hybrid models and system_data properties on resources; version 14.0.1 fixed an API version replacement bug in vault listing.
Use it for:
- Automate creation and lifecycle management of Azure Key Vaults across multiple subscriptions in CI/CD pipelines.
- Programmatically manage encryption keys and secrets stored in Key Vault from Python applications.
- Configure network rules, private endpoints, and access policies for Key Vault resources at scale.
- Monitor and audit Key Vault operations through resource properties and system metadata.
- Manage managed HSM instances and their associated keys and security domains.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Key Vault resources—vaults, keys, secrets, and managed HSMs—through the Azure Resource Manager API.
Yes. This is the official Azure SDK client for Key Vault management, actively maintained with no known vulnerabilities, low install friction, and broad Python version support (3.9–3.13). Install it if you need to manage Azure Key Vault infrastructure from Python. Prerequisite: Azure subscription and proper credential configuration via environment variables.
Install
azure-mgmt-keyvault on PyPI
pip
pip install azure-mgmt-keyvaultuv
uv add azure-mgmt-keyvaultpoetry
poetry add azure-mgmt-keyvaultInstalling azure-mgmt-keyvault
Before you install
Low friction; pure Python wheel with three lightweight runtime dependencies. Actively maintained with recent releases; last commit 2026-08-14. Supports Python 3.9+.
Quickstart
pip install azure-mgmt-keyvault
from azure.mgmt.keyvault import KeyVaultManagementClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = KeyVaultManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID configured for authentication.
Verify before relying
- Whether additional Azure SDK packages beyond the listed runtime deps are required for typical authentication workflows.
- Scope and completeness of Key Vault operations covered (e.g., key rotation, backup/restore, network rules).
- License terms and conditions (license_treatment marked unclear in metadata).
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 140 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 9,755,819/month — #1,503 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_keyvault-14.0.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
azure-mgmt-recoveryservicesProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI
azure-keyvault-securitydomainManages security domains for Azure Key Vault…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-keyvault-administrationManages role-based access control, backup,…
permissive · top 5,000 on PyPI
azure-mgmt-batchProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-keyvaultA bundle package that installs three Azure Key…
permissive · top 5,000 on PyPI
azure-keyvault-certificatesManages SSL/TLS certificates stored in Azure…
permissive · top 5,000 on PyPI