Azure.Identity add support for Azure SQL client authentication
See original GitHub issueCurrently Azure.Services.AppAuthentication has support for authenticating Azure SQL clients through the SqlAppAuthenticationProvider. Azure Identity needs to provide a similar provider to allow people to authenticate SQL clients using the ManagedIdentityCredential
or DefaultAzureCredential
. This needs to be designed and implemented.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Connect to Azure SQL with Azure AD authentication and ...
Describes how to use supported Azure Active Directory authentication modes to connect to Azure SQL data sources with SqlClient.
Read more >Managed identity in Azure AD for Azure SQL
Azure Active Directory (Azure AD) supports two types of managed identities: system-assigned managed identity (SMI) and user-assigned managed ...
Read more >Configure and manage Azure AD authentication ...
Azure AD authentication supports the following authentication methods: Azure AD cloud-only identities; Azure AD hybrid identities that ...
Read more >Access data with managed identity - Azure App Service
First, enable Azure Active Directory authentication to SQL Database by assigning an Azure AD user as the admin of the server.
Read more >Enable Azure Active Directory only authentication
This article guides you through enabling the Azure AD-only authentication feature within Azure SQL Database and Azure SQL Managed Instance.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Microsoft.Data.SqlClient
recently added support for a connection string option that will useDefaultAzureCredential
under the covers - Details here:https://docs.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication?view=sql-server-ver15#using-active-directory-default-authentication
Any update on this ?
Microsoft.Azure.Services.AppAuthentication is no longer recommended to use with new Azure SDK. It is replaced with new Azure Identity client library available for .NET, Java, TypeScript and Python and should be used for all new development. Information about how to migrate to Azure Identitycan be found here: AppAuthentication to Azure.Identity Migration Guidance.