Skip to content

Conversation

@junsu0ms
Copy link
Contributor

@junsu0ms junsu0ms commented Oct 27, 2022

Why make this change?

Support AAD User authentication for MySQL

What is this change?

Add user token as password field to authenticate with MySQL with AAD plugin

How was this tested?

  • Integration Tests
  • Unit Tests
  • Tested on Azure VM with a managed identity logged in via Az CLI.

@junsu0ms junsu0ms changed the title Aad Support AAD User authentication for Azure MySQL Service Oct 27, 2022
Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a few questions. Thanks for doing this!

Copy link
Contributor

@aaronburtle aaronburtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fast change!

@Aniruddh25 Aniruddh25 linked an issue Oct 29, 2022 that may be closed by this pull request
@junsu0ms
Copy link
Contributor Author

junsu0ms commented Nov 7, 2022

Let me verify this in the real azure mysql server before I commit this.

Copy link
Contributor

@seantleonard seantleonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs one more DataRow in a test to utilize all code paths, then should be good.

Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once confirming InteractiveCredential is not needed.

Copy link
Contributor

@ayush3797 ayush3797 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enabling merge.

@Aniruddh25 Aniruddh25 merged commit 46cc025 into main Dec 5, 2022
@Aniruddh25 Aniruddh25 deleted the aad branch December 5, 2022 10:50
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.

MySql: Support for Managed Identity Access

7 participants