You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Make sure the desired Google Cloud project is set. ([Creating a project](https:/
38
38
Replace the following values:
39
39
-`PROJECT_ID`: The Google Cloud project ID.
40
40
```
41
-
gcloud config set project PROJECT_ID
41
+
gcloud config set project <PROJECT_ID>
42
42
```
43
43
44
44
### Enabling APIs
@@ -115,6 +115,23 @@ To properly allow read-access of an organization's IAM group members (i.e. which
115
115
116
116
To assign the Group Administator Role to the service account follow these four quick steps. ([How to Assign Group Administrator Role](https://cloud.google.com/identity/docs/how-to/setup#auth-no-dwd))
117
117
118
+
### Configuring IAM Groups
119
+
There is one step required for configuring IAM groups to be able to sync successfully with Cloud SQL instances. Each IAM group requires an IAM policy binding to allow it's IAM users to inherit the ability to connect and login to Cloud SQL instances when added as database users.
120
+
121
+
Add the required __Cloud SQL Instance User__ IAM policy binding through the following command or manually through the [Cloud Console](https://console.cloud.google.com/iam-admin/iam) by adding the __IAM group's email__ as the principal and selecting the __"Cloud SQL Instance User"__ role.
122
+
123
+
Replace the following values:
124
+
-`PROJECT_ID`: The Google Cloud project ID.
125
+
-`IAM_GROUP_EMAIL`: The email address associated with the IAM group.
**NOTE**: The above command is required for each IAM group and the binding is added at the project level. Therefore, if an IAM group is being synced with Cloud SQL instances across several different projects, the command will need to be run for each project.
134
+
118
135
### Configuring Cloud SQL Instances
119
136
This service requires Cloud SQL instances to be already created and to have the `cloudsql_iam_authentication` flag turned **On**. [(See how to enable flag here.)](https://cloud.google.com/sql/docs/mysql/create-edit-iam-instances)
0 commit comments