sickn33/antigravity-awesome-skills/azure-identity-rust
- community
Checking that the SKILL.md file is still in the repository.
Azure Identity SDK for Rust authentication. Use for DeveloperToolsCredential, ManagedIdentityCredential, ClientSecretCredential, and token-based authentication.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/azure-identity-rustSKILL.md
Azure Identity SDK for Rust
Authentication library for Azure SDK clients using Microsoft Entra ID (formerly Azure AD).
The examples below require a reviewed compatible crate set and replacement of every resource placeholder. Do not use production data for demonstration writes.
Installation
Environment Variables
DeveloperToolsCredential
The recommended credential for local development. Tries developer tools in order (Azure CLI, Azure Developer CLI):
Credential Chain Order
| Order | Credential | Environment | |
|---|---|---|---|
| 1 | AzureCliCredential | az login | |
| 2 | AzureDeveloperCliCredential | azd auth login |
Credential Types
| Credential | Usage | |
|---|---|---|
DeveloperToolsCredential | Local development - tries CLI tools | |
ManagedIdentityCredential | Azure VMs, App Service, Functions, AKS | |
WorkloadIdentityCredential | Kubernetes workload identity | |
ClientSecretCredential | Service principal with secret | |
ClientCertificateCredential | Service principal with certificate | |
AzureCliCredential | Direct Azure CLI auth | |
AzureDeveloperCliCredential | Direct azd CLI auth | |
AzurePipelinesCredential | Azure Pipelines service connection | |
ClientAssertionCredential | Custom assertions (federated identity) |
ManagedIdentityCredential
For Azure-hosted resources:
ClientSecretCredential
For service principal with secret:
Best Practices
- Use `DeveloperToolsCredential` for local dev — automatically picks up Azure CLI
- Use `ManagedIdentityCredential` in production — no secrets to manage
- Clone credentials — credentials are
Arc-wrapped and cheap to clone - Reuse credential instances — same credential can be used with multiple clients
- Provide the async runtime — add Tokio with the features required by your application; do not assume a crate-specific
tokiofeature exists
The reviewed example set uses azure_identity 1.0.0 and compatible Azure core/credential crates. Record and commit Cargo.lock; source/API review is not a compiler or live-service test.
Reference Links
| Resource | Link | |
|---|---|---|
| API Reference | https://docs.rs/azure_identity | |
| Source Code | https://github.com/Azure/azure-sdk-for-rust/tree/main/sdk/identity/azure_identity | |
| crates.io | https://crates.io/crates/azure_identity |
When to Use
Use when choosing or configuring Entra ID credentials for Rust Azure SDK clients: local developer tools, managed/workload identity or a reviewed service principal.
Limitations
- Examples are fragments inside async application code, with compatible pinned Azure crates and the required Tokio/Serde/Futures dependencies; verify the selected version’s API before use. They were reviewed against official source/reference, not compiled or run against a cloud account here.
- Use an authorized tenant, resource and identity with least privilege. Writes, overwrites, deletes, backup retrieval and account changes require the corresponding scope; cleanup may remove only explicitly identified disposable resources. Bound requests, retries and downloaded bytes, and do not log payloads, credentials or secret values.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
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 repositoryCheckingskills/azure-identity-rust/SKILL.md
Popularity
- Repository stars
- 23,662
- Repository forks
- 4,072
- Repository npm downloads, 7 days
- 11,772
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 17 Mar 2026, 7 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/sickn33/antigravity-awesome-skills/azure-identity-rust)