Created
March 22, 2022 14:14
-
-
Save developer-guy/6361cc3e6a8913d338e284a72e6ebd09 to your computer and use it in GitHub Desktop.
give necessary permissions to GCP SA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcloud projects add-iam-policy-binding ${PROJECT_ID} \ | |
--role roles/cloudkms.verifier \ | |
--member serviceAccount:${GSA_NAME}@${PROJECT_ID}.iam.gserviceaccount.com | |
$ gcloud projects add-iam-policy-binding ${PROJECT_ID} \ | |
--role roles/cloudkms.viewer \ | |
--member serviceAccount:${GSA_NAME}@${PROJECT_ID}.iam.gserviceaccount.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment