forked from TrueCloudLab/certificates
Fix iam permissions.
This commit is contained in:
parent
42ce78ed43
commit
066c7ee10b
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ or using `gcloud` CLI:
|
||||||
# Add permissions to use the privateca API
|
# Add permissions to use the privateca API
|
||||||
gcloud projects add-iam-policy-binding smallstep-cas-test \
|
gcloud projects add-iam-policy-binding smallstep-cas-test \
|
||||||
--member=serviceAccount:step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com \
|
--member=serviceAccount:step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com \
|
||||||
--role=roles/privateca.caManager
|
--role=roles/privateca.certificateRequester
|
||||||
# Download the credentials.file
|
# Download the credentials.file
|
||||||
gcloud iam service-accounts keys create credentials.json \
|
gcloud iam service-accounts keys create credentials.json \
|
||||||
--iam-account step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com
|
--iam-account step-ca-sa@smallstep-cas-test.iam.gserviceaccount.com
|
||||||
|
|
Loading…
Reference in a new issue