From b5bcd61d19165749ac6940632162eeca8d072aa8 Mon Sep 17 00:00:00 2001 From: Theron Voran Date: Mon, 27 Jan 2020 11:48:21 -0800 Subject: [PATCH] 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. --- website/pages/docs/auth/gcp.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/pages/docs/auth/gcp.mdx b/website/pages/docs/auth/gcp.mdx index d602245599..e6731ceca1 100644 --- a/website/pages/docs/auth/gcp.mdx +++ b/website/pages/docs/auth/gcp.mdx @@ -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].