← Explore all skills

CLOUD DEVELOPMENT / Microsoft

Azure Identity library for Rust

Microsoft's Rust guide to azure_identity, which has no DefaultAzureCredential: DeveloperToolsCredential for local work, ManagedIdentityCredential for Azure-hosted code and ClientSecretCredential for service principals.

“Azure Identity library for Rust. Microsoft Entra ID authentication for all Azure SDK clients. Triggers: "azure identity rust", "DeveloperToolsCredential", "authentication rust", "managed identity rust", "credential rust", "Entra ID rust". ”

01 / THE REASONING

Why this made the selection.

  • It states that the Rust SDK has no DefaultAzureCredential and marks `use azure_identity::DefaultAzureCredential;` as incorrect, pointing to DeveloperToolsCredential for local development and ManagedIdentityCredential for production.
  • It tells you to use only official azure_* crates published by the azure-sdk crates.io user, not the deprecated azure_sdk_* crates or community crates, and notes that no official crate has version 0.21.0.
  • It gives DeveloperToolsCredential's order (Azure CLI, then Azure Developer CLI, with their login commands) and tabulates nine credential types, WorkloadIdentityCredential and AzurePipelinesCredential among them.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • .github/plugins/azure-sdk-rust/skills/azure-identity-rust/SKILL.md (all 144 lines)
  • .github/plugins/azure-sdk-rust/README.md
  • .github/plugins/azure-sdk-rust/.claude-plugin/plugin.json
  • README.md
  • LICENSE

Our findings

  • The Installation line adds azure_identity, azure_core and tokio, and the note says azure_core is optional unless azure_core types are used directly.
  • Practice 1 says to manage dependencies with cargo add and never edit Cargo.toml directly.
  • Practice 5 says credentials are Arc-wrapped, so pass credential.clone() to each client; practice 6 says clients are thread-safe.
  • Practice 7 says to give the identity RBAC roles on the target service, citing Key Vault Secrets User for secret reads.
  • The frontmatter declares license MIT, author Microsoft and package azure_identity. It declares no allowed-tools.

Not established by this review

  • No credential was created and no token or secret was requested.
  • No crate was added and no Rust code using azure_identity was compiled.
  • Neither the azure-sdk-rust plugin nor azure-identity-rust was installed.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗
  1. The azure-sdk-rust plugin README prints `npx skills add microsoft/skills --skill azure-sdk-rust` under Install. It installs the whole azure-sdk-rust plugin, whose skill table lists azure-identity-rust; it does not install that skill alone.
  2. The same README prints `/plugin install azure-sdk-rust@skills`, which also brings in azure-identity-rust together with every other skill in the plugin. The repository README runs plugin commands inside Copilot CLI after `/plugin marketplace add microsoft/skills`.

Before you start

  • The skill prints `cargo add azure_identity azure_core tokio`. This review did not run it.
  • An `az login` or `azd auth login` session for DeveloperToolsCredential, a managed identity on an Azure-hosted resource, or AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET for a service principal.
  • Copilot CLI, where `/plugin install azure-sdk-rust@skills` adds this identity skill with the rest of the plugin.

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/skills/azure-identity-rust/SKILL.md

    Supports: name, upstreamDescription, summary, whySelected, bestFor, limitations, review.findings, install.prerequisites, access.permissions

  2. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/README.md

    Supports: install.sourceUrl, install.steps, limitations (install scope)

  3. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-rust/.claude-plugin/plugin.json

    Supports: publisher, license (plugin licence field)

  4. Repository README ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md

    Supports: compatibility, install.steps (Copilot CLI plugin commands)

  5. Repository LICENSE ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE

    Supports: license

  6. https://github.com/microsoft/skills/commit/4a2873faffc1b101a33a0b59c24713d4ed78142f

    Supports: limitations (last commit date)

Evidence & Ask