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
Service Principal authentication with MySQL #60204
Comments
@kosinsky we'll review your feedback and get back to you shortly. Thanks. |
@kosinsky To understand correctly, are you looking to use an Azure AD application for authentication? (we already have Managed Identity documented here, which is our recommended approach: https://docs.microsoft.com/en-us/azure/mysql/howto-connect-with-managed-identity) |
@lfittl-msft However, Managed Identities gave me an idea to combine approach for MSI and regular users to make service principals work. Here is the steps:
|
@kosinsky Nice - that makes sense, and happy you were able to find a solution. I'm wondering how we could highlight this best in the docs. Maybe we can include a snippet like the one you shared here, after the "Creating Azure AD groups in Azure Database for MySQL" section on the How-To Guide. Do you think that would have helped? |
I think it will be great to have separate page for "Connect with Service Principals (applications)" that will include how to create user mapped to SPN, how to authenticate using |
Thank @kosinsky for the information shared. @lfittl-msft This is being assigned to the you, could you please evaluate and update as appropriate? Thanks |
@lfittl-msft can you please provide an update. |
@kosinsky Thanks for those details - we've added this to our documentation backlog and will address this as discussed. @AnuragSharma-MSFT I think we can close this issue for now, as the question was addressed, and we'll improve the docs separately based on the further discussion. |
@lfittl-msft Thanks a lot for all the efforts you spent here. @kosinsky We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion. |
@NavtejSaini-MSFT This is still not properly documented. An extension of this question would be if it is possible to make a service principal AAD MySQL Administrator, and supply the proper steps for that as well. |
@NavtejSaini-MSFT This is still not properly documented. |
This page shows how to use AAD authentication for regular users. Is the same supported for Service Principals?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: