azure-identity-dotnet
Azure Identity SDK for .NET. Authentication library for Azure SDK clients using Microsoft Entra ID. Use for DefaultAzureCredential, managed identity, service principals, and developer credentials.
npx skills add majiayu000/claude-skill-registry --skill azure-identity-dotnet --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Azure.Identity (.NET) Authentication library for Azure SDK clients using Microsoft Entra ID (formerly Azure AD). ## Installation ```bash dotnet add package Azure.Identity # For ASP.NET Core dotnet add package Microsoft.Extensions.Azure # For brokered authentication (Windows) dotnet add package Azure.Identity.Broker ``` **Current Versions**: Stable v1.17.1, Preview v1.18.0-beta.2 ## Environment Variables ### Service Principal with Secret ```bash AZURE_CLIENT_ID=<application-client-id> AZURE_TENANT_ID=<directory-tenant-id> AZURE_CLIENT_SECRET=<client-secret-value> ``` ### Service Principal with Certificate ```bash AZURE_CLIENT_ID=<application-client-id> AZURE_TENANT_ID=<directory-tenant-id> AZURE_CLIENT_CERTIFICATE_PATH=<path-to-pfx-or-pem> AZURE_CLIENT_CERTIFICATE_PASSWORD=<certificate-password> # Optional ``` ### Managed Identity ```bash AZURE_CLIENT_ID=<user-assigned-managed-identity-client-id> # Only for user-assigned ``` ## DefaultAzureCredential The recommended credential for most scenarios. Tries multiple authentication methods in order: | Order | Credential | Enabled by Default | |-------|------------|-------------------| | 1 | EnvironmentCredential | Yes | | 2 | WorkloadId
- Installation
- Environment Variables
- Service Principal with Secret
- Service Principal with Certificate
- Managed Identity
- DefaultAzureCredential
- Basic Usage
- ASP.NET Core with Dependency Injection
- Customizing DefaultAzureCredential
- Credential Types
- ManagedIdentityCredential (Production)
- ClientSecretCredential
- ClientCertificateCredential
- ChainedTokenCredential (Custom Chain)
dotnet add package Azure.Identity For ASP.NET Core dotnet add package Microsoft.Extensions.Azure For brokered authentication (Windows) dotnet add package Azure.Identity.Broker
What does the azure-identity-dotnet skill do?
Azure Identity SDK for .NET. Authentication library for Azure SDK clients using Microsoft Entra ID. Use for DefaultAzureCredential, managed identity, service principals, and developer credentials.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill azure-identity-dotnet --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
