Agent skill · software engineering · aiskillstore

azure-identity-rust

Azure Identity SDK for Rust authentication. Use for DeveloperToolsCredential, ManagedIdentityCredential, ClientSecretCredential, and token-based authentication.

Why this skill is useful

Provides specific usage patterns and credential management strategies for Azure Identity SDK in Rust that the AI wouldn't reliably generate on its own.

What it needs

Requires cargo installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Identity SDK for Rust Authentication library for Azure SDK clients using Microsoft Entra ID (formerly Azure AD). 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 1. Use DeveloperToolsCredential for local dev — automatically picks up Azure CLI 2. Use ManagedIdentityCredential in production — no secrets to manage 3. Clone credentials — credentials are Arc-wrapped and cheap to clone 4. Reuse credential instances — same credential can be used with multiple clients 5. Use tokio feature — cargo add azureidentity --features tokio Reference Links Resource Link ---------- ------ API Reference https://docs.rs/azureidentity Source Code https://github.com/Azure/azure-sdk-for-rust/tree/main/sdk/identity/azureidentity crates.io https://crates.io/crates/azureidentity When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-identity-rust

View the source on GitHub

Browse the @skills marketplace