microsoft-kiota-authentication-azure
Core abstractions for kiota generated libraries in Python
What it is and what it does
This package bridges Azure identity services with Kiota-generated API client libraries, enabling secure HTTP authentication. It implements Kiota's authentication provider interface using Azure's identity library, allowing generated clients to authenticate requests against Azure-protected APIs (including Microsoft Graph) using Azure credentials.
The package is part of the Kiota ecosystem—a code generation framework for building API clients from OpenAPI specifications. When you generate a client with Kiota, you need an authentication provider to sign requests; this library supplies that provider using Azure's credential chain, supporting multiple authentication flows (managed identity, service principal, user credentials) depending on your deployment environment.
Use it for:
- Authenticate Kiota-generated Microsoft Graph clients using Azure service principals or managed identities in cloud applications.
- Build Python applications that call Azure-protected APIs with automatic credential handling via DefaultAzureCredential.
- Integrate Kiota clients into Azure Functions or container services where Azure identity is already configured.
- Enable local development and production authentication using the same credential chain across environments.
- Add OpenTelemetry tracing to API calls made through Kiota-generated clients authenticated with Azure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Azure identity authentication for HTTP requests in Kiota-generated API client libraries, integrating with Azure's identity services.
Yes. This is an actively maintained, production-stable library with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are using Kiota-generated clients and need to authenticate against Azure-protected APIs or Microsoft Graph. It is the standard authentication bridge for that use case.
Install
microsoft-kiota-authentication-azure on PyPI
pip
pip install microsoft-kiota-authentication-azureuv
uv add microsoft-kiota-authentication-azurepoetry
poetry add microsoft-kiota-authentication-azureInstalling microsoft-kiota-authentication-azure
Before you install
Low friction installation with a pure Python wheel. Active maintenance with a recent release and no known vulnerabilities. Depends on well-established libraries: aiohttp, azure-core, microsoft-kiota-abstractions, and OpenTelemetry components.
License in practice
Licensed under MIT (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install microsoft-kiota-authentication-azure
from microsoft_kiota_authentication_azure import AzureIdentityAuthenticationProvider
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
auth_provider = AzureIdentityAuthenticationProvider(credential)
Requires Python 3.10 or later. Azure credentials must be configured in your environment (e.g., via AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET or local Azure CLI login).
Verify before relying
- Whether this package works with all Azure credential types or only specific ones from azure-identity
- Performance characteristics when handling concurrent authentication requests
- Specific OpenTelemetry instrumentation capabilities beyond what the SDK provides
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — aiohttp, azure-core, microsoft-kiota-abstractions, opentelemetry-api, opentelemetry-sdk |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,859,099/month — #1,215 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: microsoft_kiota_authentication_azure-1.11.9-py3-none-any.whl
Keywords: kiota, openAPI, Microsoft, Graph
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
artifacts-keyringProvides automatic credential retrieval for…
permissive · top 5,000 on PyPI
microsoft-kiota-httpProvides an HTTP client implementation for…
permissive · top 5,000 on PyPI
msgraph-coreProvides core HTTP client infrastructure for…
permissive · top 5,000 on PyPI
microsoft-kiota-abstractionsProvides core abstractions and base classes…
permissive · top 5,000 on PyPI
microsoft-kiota-bundleProvides default client setup and request…
permissive · top 15,000 on PyPI
microsoft-kiota-serialization-jsonSerializes and deserializes JSON payloads for…
permissive · top 5,000 on PyPI
microsoft-kiota-serialization-textSerializes and deserializes plain text payloads…
permissive · top 5,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
azure-mgmt-coreProvides ARM-specific extensions to Azure Core…
permissive · top 1,000 on PyPI
msal-extensionsProvides secure, platform-specific token cache…
permissive · top 1,000 on PyPI