skillfed

azure-mgmt-keyvault

Microsoft Azure Keyvault Management Client Library for Python

azure-mgmt-keyvault v14.0.1 9.8M downloads/30d#1,503 on PyPI5,588
License unclear Active released

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-keyvault

uv

uv add azure-mgmt-keyvault

poetry

poetry add azure-mgmt-keyvault

Installing 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

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

azure key vault managementazure keyvault client libraryazure resource manager keyvaultmanage azure vaults programmaticallyazure hsm managementazure key vault operations
azure-sdkkey-managementcloud-infrastructure

More Security packages

SecretStorage

Provides Python bindings to the FreeDesktop.org…

permissive · top 1,000 on PyPI

msal

MSAL for Python handles OAuth2 and OpenID…

permissive · top 1,000 on PyPI

joserfc

joserfc implements JOSE standards (JWS, JWE,…

permissive · top 1,000 on PyPI

Authlib

Authlib provides a complete implementation of…

permissive · top 1,000 on PyPI

argon2-cffi-bindings

Provides low-level CFFI bindings to the…

permissive · top 1,000 on PyPI

adal

ADAL for Python authenticates applications with…

permissive · top 1,000 on PyPI

azure-mgmt-recoveryservices

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-keyvault-securitydomain

Manages security domains for Azure Key Vault…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-keyvault-administration

Manages role-based access control, backup,…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-keyvault

A bundle package that installs three Azure Key…

permissive · top 5,000 on PyPI

azure-keyvault-certificates

Manages SSL/TLS certificates stored in Azure…

permissive · top 5,000 on PyPI