LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-identity-py
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/azure-identity-py
View on GitHub

What This Skill Does

Python library for authenticating to Azure services using Microsoft Entra ID. Provides DefaultAzureCredential, managed identity, service principals, and direct token acquisition. Works across local dev and Azure-hosted environments without code changes.

DefaultAzureCredential handles the local-dev-to-production transition automatically, so you don't maintain separate auth logic for each environment.

When to use it

  • Authenticating Azure Blob Storage clients in Python with zero credential management
  • Switching from local Azure CLI login to managed identity in production without changing code
  • Getting bearer tokens for Azure OpenAI via get_bearer_token_provider with the OpenAI SDK
  • Setting up workload identity auth for a Python app running on AKS
  • Chaining ManagedIdentityCredential with AzureCliCredential as a dev/prod fallback