Azure Identity for Python

•
6
•

Authenticates Azure SDK Python applications using Microsoft Entra ID, managed identities, service principals, and credential chains.

Azure Identity for Python guides developers in implementing robust, zero-hardcoded-secret authentication for Python applications interacting with Azure services. It provides patterns and best practices for configuring DefaultAzureCredential, setting up system- and user-assigned managed identities, managing service principal credentials, chaining custom token providers, and utilizing asynchronous authentication across local development and production cloud environments.

Características Principales

016 GitHub stars
02DefaultAzureCredential setup for seamless local-to-cloud transitions
03Direct token acquisition and asynchronous credential management with asyncio
04Configuration patterns for system-assigned and user-assigned managed identities
05Service principal authentication using secrets and certificates
06Custom ChainedTokenCredential setup for prioritized authentication fallbacks

Casos de Uso

01Enabling local developer authentication using Azure CLI and developer tools without secrets
02Configuring secure cloud authentication across Azure App Service, AKS, and Azure Functions
03Acquiring scoped Entra ID OAuth tokens directly for Azure databases and REST APIs