Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::KmsWrappedCryptoKey.
Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt
For more information, see Creating a wrapped key.
Note: When you use Cloud KMS for cryptographic operations, charges apply.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#crypto_key_name
def crypto_key_name() -> ::String
- (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.
#crypto_key_name=
def crypto_key_name=(value) -> ::String
- value (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.
- (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.
#wrapped_key
def wrapped_key() -> ::String
- (::String) — Required. The wrapped data crypto key.
#wrapped_key=
def wrapped_key=(value) -> ::String
- value (::String) — Required. The wrapped data crypto key.
- (::String) — Required. The wrapped data crypto key.