pub struct CustomerManagedEncryption {
pub kms_key_name: Option<String>,
}
Expand description
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
This type is not used in any activity, and only used as part of another schema.
Fields§
§kms_key_name: Option<String>
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/*
.
Trait Implementations§
source§impl Clone for CustomerManagedEncryption
impl Clone for CustomerManagedEncryption
source§fn clone(&self) -> CustomerManagedEncryption
fn clone(&self) -> CustomerManagedEncryption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomerManagedEncryption
impl Debug for CustomerManagedEncryption
source§impl Default for CustomerManagedEncryption
impl Default for CustomerManagedEncryption
source§fn default() -> CustomerManagedEncryption
fn default() -> CustomerManagedEncryption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomerManagedEncryption
impl<'de> Deserialize<'de> for CustomerManagedEncryption
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for CustomerManagedEncryption
Auto Trait Implementations§
impl RefUnwindSafe for CustomerManagedEncryption
impl Send for CustomerManagedEncryption
impl Sync for CustomerManagedEncryption
impl Unpin for CustomerManagedEncryption
impl UnwindSafe for CustomerManagedEncryption
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more