forked from TrueCloudLab/certificates
Update cas.md
Needed to run two commands to set up IAM roles because passing `--role` twice only uses the second value passed.
This commit is contained in:
parent
3f55f22b2e
commit
329f401e58
1 changed files with 3 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue