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 provides documentation for the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, detailing its usage for data encryption with KMS-wrapped keys.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e is used to employ an existing data crypto key that has been wrapped using KMS (Key Management Service).\u003c/p\u003e\n"],["\u003cp\u003eIt supports multiple versions, with the latest being 4.16.0 and provides documentation for each version, as well as previous versions as far back as 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class inherits from Object and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eUsing the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e requires the \u003ccode\u003edlp.kms.encrypt\u003c/code\u003e IAM permission to perform a crypto transformation.\u003c/p\u003e\n"]]],[],null,[]]