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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET, detailing its properties, constructors, and inherited members.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class is used to integrate an existing data crypto key that is wrapped using Key Management Service (KMS), with key size requirements of 128, 192, or 256 bits.\u003c/p\u003e\n"],["\u003cp\u003eUsing KMS for cryptographic operations with \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e will incur costs as per the \u003ca href=\"https://cloud.google.com/kms/pricing\"\u003eCloud KMS pricing\u003c/a\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class, ranging from version 2.15.0 up to the latest version 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eUsing a \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e for a cryptographic operation requires the IAM permission \u003ccode\u003edlp.kms.encrypt\u003c/code\u003e to authorize any requests.\u003c/p\u003e\n"]]],[],null,[]]