What problem does it solve?
Many Python applications require secure, environment-agnostic authentication to call Azure services; this Skill removes the complexity of selecting and wiring the correct credential method across local development, CI/CD, and cloud hosts.
Core Features & Use Cases
- Unified Credential Selection: Guidance for using DefaultAzureCredential to automatically select the best available credential chain.
- Multiple Auth Modes: Patterns for managed identities, service principals (client secret and certificate), Azure CLI auth, interactive login, and device code flows.
- Token Management & Async Support: Instructions for obtaining tokens directly, enabling persistent token caches, and using async clients in event loops.
- Use Case: Replace hardcoded secrets with DefaultAzureCredential so a BlobServiceClient authenticates locally via Azure CLI and in production via managed identity.
Quick Start
Use the azure-identity-py skill to authenticate a Python Azure SDK client with DefaultAzureCredential for both local development and Azure-hosted deployments.