Class KmsWrappedCryptoKey (3.4.0)

public sealed class KmsWrappedCryptoKey : IMessage<KmsWrappedCryptoKey>, IEquatable<KmsWrappedCryptoKey>, IDeepCloneable<KmsWrappedCryptoKey>, IBufferMessage, IMessage

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.

Inheritance

Object > KmsWrappedCryptoKey

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

KmsWrappedCryptoKey()

public KmsWrappedCryptoKey()

KmsWrappedCryptoKey(KmsWrappedCryptoKey)

public KmsWrappedCryptoKey(KmsWrappedCryptoKey other)
Parameter
NameDescription
otherKmsWrappedCryptoKey

Properties

CryptoKeyName

public string CryptoKeyName { get; set; }

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

Property Value
TypeDescription
String

WrappedKey

public ByteString WrappedKey { get; set; }

Required. The wrapped data crypto key.

Property Value
TypeDescription
ByteString