azure-identity
Microsoft Azure Identity Library for Python
Install
azure-identity on PyPI
pip
pip install azure-identityuv
uv add azure-identitypoetry
poetry add azure-identityPackage facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — azure-core, cryptography, msal, msal-extensions, typing-extensions |
| Maintenance | actively maintained — 153 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: azure_identity-1.25.3-py3-none-any.whl
Keywords: azure, azure sdk
About azure-identity
from the package's own PyPI description — quoted content, verbatim
Azure Identity client library for Python
The Azure Identity library provides Microsoft Entra ID token-based authentication support across the Azure SDK. It provides a set of [TokenCredential][token_cred_ref]/[SupportsTokenInfo][supports_token_info_ref] implementations, which can be used to construct Azure SDK clients that support Microsoft Entra token authentication.
Source code | Package (PyPI) | Package (Conda) | [API reference documentation][ref_docs] | Microsoft Entra ID documentation
Getting started
Install the package
Install Azure Identity with pip:
pip install azure-identity
Prerequisites
- An Azure subscription
- Python 3.9 or a recent version of Python 3 (this library doesn't support end-of-life versions)
Authenticate the client
When debugging and executing code locally, it's typical for a developer to use...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides Microsoft Entra ID token-based authentication for Azure SDK clients, offering multiple credential implementations including DefaultAzureCredential for simplified local and cloud authentication flows.
Low install friction with five runtime dependencies (azure-core, cryptography, msal, msal-extensions, typing-extensions). Actively maintained with recent releases; last commit 2026-08-13 indicates ongoing development.
Usage
pip install azure-identity
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
# Use credential with Azure SDK clients
Requires Python 3.9 or later; for async credentials, an async transport like aiohttp must be installed separately.
Verdict: Production-stable library (Development Status 5) with active maintenance, no known vulnerabilities, and broad Python 3.9+ support. Well-integrated into the Azure SDK ecosystem and suitable for both local development and deployed Azure services. License treatment is unclear and should be verified before use.
Needs verification
- What license does azure-identity use? The fact sheet shows license_raw and license_spdx as null with treatment marked 'unclear'.
- GitHub repository star count and activity level beyond the last commit date to assess community adoption.
Similar packages
unclear · top 1,000 on PyPI
azure-keyvault-secretspermissive · top 1,000 on PyPI
idpermissive · top 1,000 on PyPI
pydata-google-authpermissive · top 1,000 on PyPI
azure-storage-queuepermissive · top 1,000 on PyPI
azure-storage-blobpermissive · top 1,000 on PyPI
azure-keyvault-keysunclear · top 1,000 on PyPI
azure-cosmospermissive · top 1,000 on PyPI
azure-servicebusunclear · top 1,000 on PyPI
azure-mgmt-resourcepermissive · top 1,000 on PyPI