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

Clarify MySQL AAD requirements #3349

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions v2/samples/dbformysql/v1api/v1_user_aad.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
apiVersion: dbformysql.azure.com/v1
kind: User
# IMPORTANT: Before creating an AAD user on MySQL you must ensure that the MySQL Flexible Server is configured
# correctly to accept AAD users. See https://learn.microsoft.com/azure/mysql/flexible-server/how-to-azure-ad#grant-permissions-to-user-assigned-managed-identity.
# The key points are:
# * The Flexible Server MUST be assigned a user-assigned identity.
# * That user-assigned identity MUST have the following Graph permissions: User.Read.All, GroupMember.Read.All, and Application.Read.ALL
# * The FlexibleServer must have an AAD Administrator configured. The identity of the administrator must be the identity
# used by ASO to provision the user (so that ASO is connecting to the MySQL Flexible Server as the admin).
metadata:
name: sampleaaduser
namespace: default
Expand Down