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/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 details the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class, which is used to include an existing data crypto key wrapped by KMS.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports multiple versions, from 2.15.0 to 4.16.0, with 4.16.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eKmsWrappedCryptoKey()\u003c/code\u003e and \u003ccode\u003eKmsWrappedCryptoKey(KmsWrappedCryptoKey other)\u003c/code\u003e, and two primary properties, \u003ccode\u003eCryptoKeyName\u003c/code\u003e and \u003ccode\u003eWrappedKey\u003c/code\u003e, that help to define and access the wrapped key.\u003c/p\u003e\n"],["\u003cp\u003eUsing a KMS-wrapped crypto key requires the \u003ccode\u003edlp.kms.encrypt\u003c/code\u003e IAM permission to perform a crypto transformation.\u003c/p\u003e\n"]]],[],null,[]]