kmsKeyName property
Required. The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
For secrets using the
UserManaged
replication policy type, Cloud KMS CryptoKeys must reside in the same
location as the Secret.UserManaged.Replica.location.
For secrets using the
Automatic
replication policy type, Cloud KMS CryptoKeys must reside in global.
The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*.
Implementation
final String kmsKeyName;