azure-identity-rust

Authenticate Rust applications with Azure services using multiple credential types.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-identity-rust-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-identity-rust
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-rust/skills/azure-identity-rust
Command: npx skills add https://github.com/microsoft/skills --skill azure-identity-rust-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure Identity provides authentication for Rust applications against Azure services by offering a collection of ready-to-use credentials (e.g., DeveloperToolsCredential, ManagedIdentityCredential, ClientSecretCredential, and token-based options) to obtain access tokens for Azure services.

Core Features & Use Cases

  • Multiple credential types: DeveloperToolsCredential, ManagedIdentityCredential, WorkloadIdentityCredential, ClientSecretCredential, ClientCertificateCredential, AzureCliCredential, AzureDeveloperCliCredential, AzurePipelinesCredential, and ClientAssertionCredential.
  • Easy token acquisition for Azure SDK clients in Rust across local development, VM-based deployments, Kubernetes clusters, and CI pipelines.
  • Interoperability with Azure SDK crates for Rust, with straightforward initialization and usage patterns.

Quick Start

Add the azure_identity crate to your Rust project and initialize a credential to authenticate against Azure services.

Frequently Asked Questions about azure-identity-rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate my Rust application with Azure services?

Azure Identity provides ready-to-use credentials like DeveloperToolsCredential and ManagedIdentityCredential for Rust apps, supporting local development, VM or container deployments, and CI environments. It enables seamless interoperability with Azure SDK crates for straightforward initialization and usage.

Can I use managed identity to authenticate Azure SDKs from Rust apps?

Yes, the Skill provides ManagedIdentityCredential, allowing Rust applications deployed on VMs or containers to acquire access tokens automatically. It also supports WorkloadIdentityCredential for Kubernetes clusters and AzurePipelinesCredential for CI pipelines.

What's the best way to get access tokens for Azure SDK clients in Rust?

The Skill provides multiple credential types for Rust apps, including ClientSecretCredential, ClientCertificateCredential, and AzureCliCredential. You add the azure_identity crate to your project, initialize a credential, and obtain tokens for Azure SDK clients across local development, VMs, and CI pipelines.

Does Azure Identity for Rust support authentication in CI pipelines?

Yes, the Skill supports CI pipelines through AzurePipelinesCredential and ClientAssertionCredential. It enables Rust applications to obtain access tokens for Azure services across local development, VM-based deployments, Kubernetes clusters, and CI environments.

Which credential types are available for Azure authentication in Rust?

The Skill provides DeveloperToolsCredential, ManagedIdentityCredential, WorkloadIdentityCredential, ClientSecretCredential, ClientCertificateCredential, AzureCliCredential, AzureDeveloperCliCredential, AzurePipelinesCredential, and ClientAssertionCredential for obtaining access tokens for Azure services.