Getting error while generating crypto keys using GCloud KMS to access private repo as dependency
问题 I'm trying to add encrypted ssh keys to google KMS using this documentation for accessing private repository as a dependency on Google App Engine (Node.JS project). I have successfully generated Cloud KMS KeyRing and CryptoKey but I'm facing an error while encrypting the key. (gcloud.kms.encrypt) PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToEncrypt' denied for resource 'projects/test/locations/global/keyRings/my-keyring/cryptoKeys/key'. Need some help to setup this so can I