Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: import azuread (also imports regular driver) #148

Merged
merged 4 commits into from
Sep 20, 2022

Conversation

burningalchemist
Copy link
Owner

@burningalchemist burningalchemist commented Sep 20, 2022

Azure Active Directory authentication uses temporary authentication tokens to authenticate. The mssql package does not provide an implementation to obtain tokens: instead, import the azuread package and use driver name azuresql. This driver uses azidentity to acquire tokens using a variety of credential types.

https://github.com/microsoft/go-mssqldb#azure-active-directory-authentication

closes #138

@burningalchemist burningalchemist merged commit 88ccc3b into master Sep 20, 2022
@burningalchemist burningalchemist deleted the feat/azuresql branch September 20, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Active Directory authentication (AAD)
1 participant