Class: Google::Cloud::Dlp::V2::KmsWrappedCryptoKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#crypto_key_name::String

Returns Required. The resource name of the KMS CryptoKey to use for unwrapping.

Returns:

  • (::String)

    Required. The resource name of the KMS CryptoKey to use for unwrapping.



2733
2734
2735
2736
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2733

class KmsWrappedCryptoKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#wrapped_key::String

Returns Required. The wrapped data crypto key.

Returns:

  • (::String)

    Required. The wrapped data crypto key.



2733
2734
2735
2736
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2733

class KmsWrappedCryptoKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end