Update cas.md

Needed to run two commands to set up IAM roles because passing `--role` twice only uses the second value passed.
pull/367/head
Carl Tashian 4 years ago committed by GitHub
parent 3f55f22b2e
commit 329f401e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save