Show bound_service_accounts in gce example (#8236)

Shows that the GCP auth option `bound_service_accounts` can be used
for gce-type roles as well as iam.
This commit is contained in:
Theron Voran 2020-01-27 11:48:21 -08:00 committed by GitHub
parent 7ec5affa63
commit 890f4b63a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -108,9 +108,12 @@ management tool.
policies="dev,prod" \
bound_projects="my-project1,my-project2" \
bound_zones="us-east1-b" \
bound_labels="foo:bar,zip:zap"
bound_labels="foo:bar,zip:zap" \
bound_service_accounts="my-service@my-project.iam.gserviceaccount.com"
```
Note that `bound_service_accounts` is only required for `iam`-type roles.
For the complete list of configuration options for each type, please see the
[API documentation][api-docs].