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
| Audience | The audience set on the Workload Identity Federation |`https://iam.googleapis.com/projects/{project-id}/locations/global/workloadIdentityPools/{pool-id}/providers/{provider-id}`|
52
+
| Service Account | The email of the service account which has been granted access | service-account-name@{project-id}.iam.gserviceaccount.com |
53
+
54
+
See the [Google cloud documentation](https://cloud.google.com/iam/docs/workload-identity-federation-with-other-providers) for instructions on creating and configuring a Workload Identity Federation.
55
+
56
+
When setting up the Workload Identity Federation:
57
+
- When granting access to the service account, the principal must have the subject attribute name set to `smtp`. Example: `https://iam.googleapis.com/projects/{project-id}/locations/global/workloadIdentityPools/{pool-id}/subject/smtp`.
58
+
- The service account must have domain wide delegation with an OAuth scope of `https://mail.google.com/`, see [documentation](https://developers.google.com/identity/protocols/oauth2/service-account#delegatingauthority) on how to set this up.
59
+
46
60
## Add an email step
47
61
48
62
Email steps are added to deployment processes in the same way as other steps.
0 commit comments