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, with the current version being 4.13.0 but links to other versions as well.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e is used to incorporate a pre-existing data crypto key that has been secured through KMS.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies that the wrapped key must be either a 128-bit, 192-bit, or 256-bit key, and that use of the Cloud KMS results in charges.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors and also has two properties: \u003ccode\u003eCryptoKeyName\u003c/code\u003e and \u003ccode\u003eWrappedKey\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]