techwavedev/agi-agent-kit/azure-identity-py
Claude Code and agent skill by techwavedev/agi-agent-kit
- community
Checking that the SKILL.md file is still in the repository.
Azure Identity SDK for Python authentication. Use for DefaultAzureCredential, managed identity, service principals, and token caching.
Install
npx vskill@latest install techwavedev/agi-agent-kit/azure-identity-pySKILL.md
Azure Identity SDK for Python
Authentication library for Azure SDK clients using Microsoft Entra ID (formerly Azure AD).
Installation
Environment Variables
DefaultAzureCredential
The recommended credential for most scenarios. Tries multiple authentication methods in order:
Credential Chain Order
| Order | Credential | Environment | |
|---|---|---|---|
| 1 | EnvironmentCredential | CI/CD, containers | |
| 2 | WorkloadIdentityCredential | Kubernetes | |
| 3 | ManagedIdentityCredential | Azure VMs, App Service, Functions | |
| 4 | SharedTokenCacheCredential | Windows only | |
| 5 | VisualStudioCodeCredential | VS Code with Azure extension | |
| 6 | AzureCliCredential | az login | |
| 7 | AzurePowerShellCredential | Connect-AzAccount | |
| 8 | AzureDeveloperCliCredential | azd auth login |
Customizing DefaultAzureCredential
Specific Credential Types
ManagedIdentityCredential
For Azure-hosted resources (VMs, App Service, Functions, AKS):
ClientSecretCredential
For service principal with secret:
AzureCliCredential
Uses the account from az login:
ChainedTokenCredential
Custom credential chain:
Credential Types Table
| Credential | Use Case | Auth Method | |
|---|---|---|---|
DefaultAzureCredential | Most scenarios | Auto-detect | |
ManagedIdentityCredential | Azure-hosted apps | Managed Identity | |
ClientSecretCredential | Service principal | Client secret | |
ClientCertificateCredential | Service principal | Certificate | |
AzureCliCredential | Local development | Azure CLI | |
AzureDeveloperCliCredential | Local development | Azure Developer CLI | |
InteractiveBrowserCredential | User sign-in | Browser OAuth | |
DeviceCodeCredential | Headless/SSH | Device code flow |
Getting Tokens Directly
Async Client
Best Practices
- Use DefaultAzureCredential for code that runs locally and in Azure
- Never hardcode credentials — use environment variables or managed identity
- Prefer managed identity in production Azure deployments
- Use ChainedTokenCredential when you need a custom credential order
- Close async credentials explicitly or use context managers
- Set AZURE_CLIENT_ID for user-assigned managed identities
- Exclude unused credentials to speed up authentication
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
<!-- AGI-INTEGRATION-START -->
AGI Framework Integration
Adapted for [@techwavedev/agi-agent-kit](https://www.npmjs.com/package/@techwavedev/agi-agent-kit)Original source: antigravity-awesome-skills
Memory-First Protocol
Retrieve prior deployment configurations, rollback procedures, and incident post-mortems. Avoid re-discovering infrastructure patterns.
Storing Results
After completing work, store infrastructure decisions for future sessions:
Multi-Agent Collaboration
Broadcast deployment changes so frontend and backend agents update their configurations accordingly.
Playbook Integration
Use the ship-saas-mvp or full-stack-deploy playbook to sequence this skill with testing, documentation, and deployment verification.
<!-- AGI-INTEGRATION-END -->
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/skills/extended/devops/azure-identity-py/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- Repository npm downloads, 7 days
- 409
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/techwavedev/agi-agent-kit/azure-identity-py)