azure-identity-rust
Azure Identity for Rust: Microsoft Entra ID authentication for all Azure SDK clients, with DeveloperToolsCredential and managed identity.
- Kind
- Skill
- Works with
- Claude Code
- Languages
- Rust
- Source
- microsoft/skills @ 2130750147de
- Path
- .github/plugins/azure-sdk-rust/skills/azure-identity-rust/SKILL.md
- License
- MIT
- Jobs
- Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Azure Identity library for Rust Microsoft Entra ID authentication for Azure SDK clients. Use this skill when: - An app needs to authenticate to Azure services from Rust - You need `DeveloperToolsCredential` for local development - You need `ManagedIdentityCredential` for Azure-hosted workloads - You need service principal auth with secret or certificate > **IMPORTANT:** Only use official `azure_*` crates published by the [azure-sdk](https://crates.io/users/azure-sdk) crates.io user. Do NOT use the deprecated `azure_sdk_*` crates (MindFlavor/AzureSDKForRust) or community crates. Official crates use underscores in names and none have version 0.21.0. > **Note:** The Rust SDK does not have `DefaultAzureCredential`. Use `DeveloperToolsCredential` for local development and `ManagedIdentityCredential` for production. ```rust // Incorrect in Rust: this type does not exist in azure_identity use azure_identity::DefaultAzureCredential; ``` ## Installation ```sh cargo add azure_identity azure_core tokio ``` > If your code uses `azure_core` types directly, add `azure_core` to `Cargo.toml`. If you only use service-crate re-exports, direct `azure_core` dependency is optional. …