Azure Identity library for .NET
Authentication library for Azure SDK clients using Microsoft Entra ID.
Installation
bash
dotnet add package Azure.Identity
# For ASP.NET Core integration
dotnet add package Microsoft.Extensions.Azure
# For brokered authentication and Visual Studio Code credential support
dotnet add package Azure.Identity.BrokerEnvironment Variables
Service Principal with Secret
bash