Azure Identity for .NET
Simplifies Microsoft Entra ID authentication for .NET applications using the Azure Identity SDK and DefaultAzureCredential.
This skill provides specialized guidance for implementing the Azure Identity SDK in .NET environments, enabling secure authentication with Microsoft Entra ID. It streamlines the setup of the recommended DefaultAzureCredential, handles various authentication flows including Managed Identities, Service Principals, and Developer credentials, and offers best practices for Dependency Injection (DI) and error handling. It is essential for developers building cloud-native .NET applications that need to interact securely with Azure services like Key Vault, Storage, and App Service.
主な機能
01Support for Sovereign Clouds including Azure Government, China, and Germany
02Configuration of DefaultAzureCredential for seamless dev-to-prod authentication transitions
03Implementation patterns for Managed Identities and Service Principal authentication
04Robust error handling and logging patterns for identity-related exceptions
05Integration with ASP.NET Core Dependency Injection using Microsoft.Extensions.Azure
064 GitHub stars
ユースケース
01Configuring Managed Identity for a .NET application running on Azure Kubernetes Service (AKS)
02Setting up secure authentication for an ASP.NET Core Web API accessing Azure Key Vault
03Switching between developer credentials and production service principals using environment variables