pub struct GooglePrivacyDlpV2beta1CryptoKey {
pub kms_wrapped: Option<GooglePrivacyDlpV2beta1KmsWrappedCryptoKey>,
pub unwrapped: Option<GooglePrivacyDlpV2beta1UnwrappedCryptoKey>,
pub transient: Option<GooglePrivacyDlpV2beta1TransientCryptoKey>,
}
Expand description
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kms_wrapped: Option<GooglePrivacyDlpV2beta1KmsWrappedCryptoKey>
no description provided
unwrapped: Option<GooglePrivacyDlpV2beta1UnwrappedCryptoKey>
no description provided
transient: Option<GooglePrivacyDlpV2beta1TransientCryptoKey>
no description provided
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1CryptoKey
impl Clone for GooglePrivacyDlpV2beta1CryptoKey
source§fn clone(&self) -> GooglePrivacyDlpV2beta1CryptoKey
fn clone(&self) -> GooglePrivacyDlpV2beta1CryptoKey
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 Default for GooglePrivacyDlpV2beta1CryptoKey
impl Default for GooglePrivacyDlpV2beta1CryptoKey
source§fn default() -> GooglePrivacyDlpV2beta1CryptoKey
fn default() -> GooglePrivacyDlpV2beta1CryptoKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1CryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1CryptoKey
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 GooglePrivacyDlpV2beta1CryptoKey
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1CryptoKey
impl Send for GooglePrivacyDlpV2beta1CryptoKey
impl Sync for GooglePrivacyDlpV2beta1CryptoKey
impl Unpin for GooglePrivacyDlpV2beta1CryptoKey
impl UnwindSafe for GooglePrivacyDlpV2beta1CryptoKey
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