skillfed

microsoft-kiota-authentication-azure

Core abstractions for kiota generated libraries in Python

microsoft-kiota-authentication-azure v1.11.9 14.9M downloads/30d#1,215 on PyPI3,802
Permissive license Active released

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

uv

uv add microsoft-kiota-authentication-azure

poetry

poetry add microsoft-kiota-authentication-azure

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure identity authenticationkiota azure authazure http request authenticationmicrosoft graph api authenticationazure identity providerkiota authentication providerazure credential handler
azure-integrationapi-client-authkiota-ecosystem

More WWW/HTTP packages

urllib3

urllib3 is an HTTP client library that provides…

permissive · top 100 on PyPI

requests

Requests is a Python HTTP library that…

permissive · top 100 on PyPI

h11

h11 is a pure-Python HTTP/1.1 protocol…

permissive · top 100 on PyPI

httpx

HTTPX is a fully featured HTTP client library…

permissive · top 100 on PyPI

httpcore

A minimal low-level HTTP client library that…

permissive · top 100 on PyPI

aiohttp

aiohttp is an async HTTP client and server…

permissive · top 100 on PyPI

artifacts-keyring

Provides automatic credential retrieval for…

permissive · top 5,000 on PyPI

microsoft-kiota-http

Provides an HTTP client implementation for…

permissive · top 5,000 on PyPI

msgraph-core

Provides core HTTP client infrastructure for…

permissive · top 5,000 on PyPI

microsoft-kiota-abstractions

Provides core abstractions and base classes…

permissive · top 5,000 on PyPI

microsoft-kiota-bundle

Provides default client setup and request…

permissive · top 15,000 on PyPI

microsoft-kiota-serialization-json

Serializes and deserializes JSON payloads for…

permissive · top 5,000 on PyPI

microsoft-kiota-serialization-text

Serializes and deserializes plain text payloads…

permissive · top 5,000 on PyPI

adal

ADAL for Python authenticates applications with…

permissive · top 1,000 on PyPI

azure-mgmt-core

Provides ARM-specific extensions to Azure Core…

permissive · top 1,000 on PyPI

msal-extensions

Provides secure, platform-specific token cache…

permissive · top 1,000 on PyPI