Skip to content

Instantly share code, notes, and snippets.

@manekinekko
Created November 13, 2018 11:46
Show Gist options
  • Save manekinekko/eee6e685c40e33ccdb6bc654c49aeaed to your computer and use it in GitHub Desktop.
Save manekinekko/eee6e685c40e33ccdb6bc654c49aeaed to your computer and use it in GitHub Desktop.
Grant Decryption permission for Cloud Builds for the GITHUB_ACCESS_TOKEN key-ring
gcloud kms keys add-iam-policy-binding \
GITHUB_ACCESS_TOKEN --location=global --keyring=GITHUB_ACCESS_TOKEN \
--member=serviceAccount:[email protected] \
--role=roles/cloudkms.cryptoKeyEncrypterDecrypter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment