From 329f401e58153ad0af5fe3a819168cfb1004f87f Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 29 Sep 2020 15:46:53 -0700 Subject: [PATCH] Update cas.md Needed to run two commands to set up IAM roles because passing `--role` twice only uses the second value passed. --- docs/cas.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/cas.md b/docs/cas.md index f51f31d8..b2c6782e 100644 --- a/docs/cas.md +++ b/docs/cas.md @@ -92,7 +92,9 @@ or using `gcloud` CLI: # Add permissions to use the privateca API gcloud projects add-iam-policy-binding smallstep-cas-test \ --member=serviceAccount:step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com \ - --role=roles/privateca.caManager \ + --role=roles/privateca.caManager + gcloud projects add-iam-policy-binding smallstep-cas-test \ + --member=serviceAccount:step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com \ --role=roles/privateca.certificateRequester # Download the credentials.file gcloud iam service-accounts keys create credentials.json \