class Google::Apis::SecretmanagerV1::CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
Attributes
kms_key_name[RW]
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 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/*`. Corresponds to the JSON property `kmsKeyName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 270 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/secretmanager_v1/classes.rb, line 275 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end