public sealed class KmsWrappedCryptoKey : IMessage<KmsWrappedCryptoKey>, IEquatable<KmsWrappedCryptoKey>, IDeepCloneable<KmsWrappedCryptoKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class 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.
Implements
IMessageKmsWrappedCryptoKey, IEquatableKmsWrappedCryptoKey, IDeepCloneableKmsWrappedCryptoKey, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
KmsWrappedCryptoKey()
public KmsWrappedCryptoKey()
KmsWrappedCryptoKey(KmsWrappedCryptoKey)
public KmsWrappedCryptoKey(KmsWrappedCryptoKey other)
Parameter | |
---|---|
Name | Description |
other | KmsWrappedCryptoKey |
Properties
CryptoKeyName
public string CryptoKeyName { get; set; }
Required. The resource name of the KMS CryptoKey to use for unwrapping.
Property Value | |
---|---|
Type | Description |
string |
WrappedKey
public ByteString WrappedKey { get; set; }
Required. The wrapped data crypto key.
Property Value | |
---|---|
Type | Description |
ByteString |