skillfed

azure-keyvault-administration

Microsoft Corporation Key Vault Administration Client Library for Python

azure-keyvault-administration v4.7.0 5.2M downloads/30d#2,131 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Azure SDK client library for administering Key Vault Managed HSM instances. It provides three main client classes: KeyVaultAccessControlClient for managing role definitions and assignments, KeyVaultBackupClient for performing full and selective key backups and restores, and KeyVaultSettingsClient for configuring Managed HSM account settings. The library handles long-running operations like pre-backup checks and restore operations through polling abstractions.

The package is tightly integrated with azure-core for HTTP transport and credential handling. It is explicitly designed for Managed HSM only—operations against standard Key Vault instances will fail. The library supports Python 3.9 through 3.13 and is maintained as part of the official Azure SDK for Python.

Use it for:

  • Implement role-based access control (RBAC) for Managed HSM by creating and managing role assignments programmatically.
  • Automate full or selective key backups and restores for disaster recovery and key rotation workflows.
  • Configure Managed HSM account settings such as security policies or operational parameters via the settings client.
  • Build administrative dashboards or CLI tools that list and manage role definitions across multiple Managed HSM instances.
  • Integrate Managed HSM administration into Infrastructure-as-Code or DevOps pipelines for key vault lifecycle management.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages role-based access control, backup, restore, and settings for Azure Key Vault Managed HSM instances.

Yes. This is the official, actively maintained Azure SDK library for Managed HSM administration. It has low install friction, permissive MIT licensing, no known vulnerabilities, and is in production-stable status. Install it if you need to programmatically manage access control, backups, or settings on an Azure Key Vault Managed HSM; do not use it for standard Key Vault operations.

Install

azure-keyvault-administration on PyPI

pip

pip install azure-keyvault-administration

uv

uv add azure-keyvault-administration

poetry

poetry add azure-keyvault-administration

Installing azure-keyvault-administration

Before you install

Low install friction with three lightweight runtime dependencies (isodate, azure-core, typing-extensions). Active maintenance with a release 87 days ago and ongoing repository activity.

License in practice

MIT License permits commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

Quickstart

pip install azure-keyvault-administration

from azure.keyvault.administration import KeyVaultAccessControlClient
from azure.core import credential

client = KeyVaultAccessControlClient(vault_url=MANAGED_HSM_URL, credential=credential)

Requires Python 3.9 or later and an existing Azure Key Vault Managed HSM instance (does not work with standard Key Vault).

Verify before relying

  • Whether async variants (azure.keyvault.administration.aio) are production-ready or have known limitations.
  • Performance characteristics for large-scale backup/restore operations on Managed HSM.
  • Support status for authentication methods beyond those documented in the package description.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-core, typing-extensions
Maintenance actively maintained — 87 days since the last release
Last repo commit
First released
Downloads 5,241,871/month — #2,131 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_keyvault_administration-4.7.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming 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 administrationmanaged hsm access controlazure vault backup restorerole-based access control azurekey vault rbac pythonmanaged hsm settings managementazure key vault management client
azure-sdkkey-managementrbac

More Cryptography packages

certifi

Certifi provides Mozilla's curated collection…

copyleft · top 100 on PyPI

cryptography

cryptography provides cryptographic recipes and…

permissive · top 100 on PyPI

rsa

Pure-Python RSA encryption, decryption,…

permissive · top 1,000 on PyPI

pyOpenSSL

pyOpenSSL wraps OpenSSL's SSL/TLS functionality…

permissive · top 1,000 on PyPI

azure-identity

Provides Microsoft Entra ID token-based…

unclear · top 1,000 on PyPI

PyNaCl

PyNaCl provides Python bindings to libsodium…

permissive · top 1,000 on PyPI

azure-keyvault-securitydomain

Manages security domains for Azure Key Vault…

permissive · top 5,000 on PyPI

azure-keyvault-certificates

Manages SSL/TLS certificates stored in Azure…

permissive · top 5,000 on PyPI

azure-keyvault-keys

Manages cryptographic keys in Azure Key…

unclear · top 1,000 on PyPI

azure-keyvault-secrets

Securely store, retrieve, and manage secrets…

permissive · top 1,000 on PyPI

azure-keyvault

A bundle package that installs three Azure Key…

permissive · top 5,000 on PyPI

azure-mgmt-keyvault

Manages Azure Key Vault resources—vaults, keys,…

unclear · top 5,000 on PyPI

pydantic-settings-azure-app-configuration

Loads application configuration and secrets…

unclear · top 15,000 on PyPI

consulate

Consulate is a Python client library for…

permissive · top 15,000 on PyPI

azure-appconfiguration-provider

Loads application configurations from Azure App…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI