Skip to content

Commit

Permalink
Make explicit the Pub/Sub service account KMS role requirements for C…
Browse files Browse the repository at this point in the history
…MEK.

Co-Authored-By: Riley Karson <[email protected]>
  • Loading branch information
drebes and rileykarson authored Jun 29, 2019
1 parent 0f5b697 commit 17cf443
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion products/pubsub/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ objects:
name: 'kmsKeyName'
description: |
The resource name of the Cloud KMS CryptoKey to be used to protect access
to messsages published on this topic.
to messsages published on this topic. Your project's PubSub service account
(`service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com`) must have
`roles/cloudkms.cryptoKeyEncrypterDecrypter` to use this feature.
The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`
input: true
Expand Down

0 comments on commit 17cf443

Please sign in to comment.