Feature Request: Support for token based Authentication for Azure SQL
aersam opened this issue · comments
Support supplying a token is needed for Azure Managed Identity and the like
Docu for possibilities with the official .Net Driver: https://docs.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication?view=sql-server-ver15#setting-azure-active-directory-authentication
Not sure how complicated the implementation is. I hope that it's possible to do this without having to use msal package but Im not sure.
Whould you accept a PR for something like this?
Docu for Pyodbc (slightly outdated as it references the old ADAL Library and not MSAL): https://github.com/AzureAD/azure-activedirectory-library-for-python/wiki/Connect-to-Azure-SQL-Database
Looks like a good implementation supporting it: https://github.com/denisenkom/go-mssqldb
;)