Step 5 - Tenant post terraforming¶
Set up domain-wide delegation (in tenant admin.google.com)¶
Nais performs some operations on behalf of the Nais admin user mentioned above. For this to work the, this user needs domain-wide delegation with some scopes. This must be manually set up in the Google Admin console:
- Go to https://admin.google.com/ac/owl/domainwidedelegation
- Click on
Add new
to add a new Client ID - Enter the ID of the tenant directory service account
- Add the following scopes:
https://www.googleapis.com/auth/admin.directory.group
https://www.googleapis.com/auth/admin.directory.user.readonly
- Click on
Authorize
After this is done you should see something like the following: