Sign in
Explore
Skills · SkillDevOps & CloudCloud platformsReviewed

azure-identity-py

Azure Identity for Python: DefaultAzureCredential, managed identity, service principals and token caching with Microsoft Entra ID.

Kind
Skill
Works with
Claude Code
Languages
Python
Source
microsoft/skills @ 2130750147de
Path
.github/plugins/azure-sdk-python/skills/azure-identity-py/SKILL.md
Jobs
Implementation
Topics
Cloud platforms

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/azure-identity-py/ (the skill folder)
  • 2 file(s) the skill refers to
  • 2 other files in the folder: references/capabilities.md, references/non-hero-scenarios.md
Runs scripts
Yes
  • shell block in the text
  • shell block in the text (references/non-hero-scenarios.md)
Uses the network
Yes
  • downloads Python packages
Needs secrets
Yes
  • AZURE_CLIENT_SECRET
  • AZURE_CLIENT_CERTIFICATE_PASSWORD
  • AZURE_TOKEN_CREDENTIALS
Reads environment variables
  • AZURE_TENANT_ID
  • AZURE_CLIENT_ID
  • AZURE_CLIENT_SECRET
  • SYSTEM_ACCESSTOKEN
  • AZURE_CLIENT_CERTIFICATE_PASSWORD
  • AZURE_TOKEN_CREDENTIALS
Reads outside the project
  • /var/run/secrets/azure/tokens/azure-identity-token (SKILL.md)
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Azure Identity library for Python

Authentication library for Azure SDK clients using Microsoft Entra ID.

Use this skill when:
- An app needs to authenticate to Azure services from Python
- You need `DefaultAzureCredential` for local dev + Azure deployment
- You need `ManagedIdentityCredential` for Azure-hosted workloads
- You need service principal auth with secret or certificate
- You need direct token acquisition with `get_token()`
- You need to troubleshoot credential chain failures

## Installation

```bash
pip install azure-identity
```

For VS Code or broker-based desktop auth:

```bash
pip install azure-identity-broker
```

## Python Version

`azure-identity` supports Python 3.9+.

## Environment Variables

```bash
# Service principal with client secret
AZURE_TENANT_ID=<your-tenant-id>
AZURE_CLIENT_ID=<your-client-id>
AZURE_CLIENT_SECRET=<your-client-secret>

# Service principal with certificate
AZURE_TENANT_ID=<your-tenant-id>
AZURE_CLIENT_ID=<your-client-id>
AZURE_CLIENT_CERTIFICATE_PATH=/path/to/cert.pem
AZURE_CLIENT_CERTIFICATE_PASSWORD=<optional-password>

# Authority (sovereign clouds)
…