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 page provides documentation for the \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsWrappedCryptoKey\u003c/code\u003e class allows developers to use existing data crypto keys that are wrapped by Google Cloud Key Management Service (KMS).\u003c/p\u003e\n"],["\u003cp\u003eTo utilize a KMS-wrapped crypto key, you'll need to ensure the wrapped key is 128, 192, or 256 bits and that you have the \u003ccode\u003edlp.kms.encrypt\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation offers examples and details for the \u003ccode\u003eCryptoKeyName\u003c/code\u003e and \u003ccode\u003eWrappedKey\u003c/code\u003e properties, which are essential for configuring the KMS-wrapped key.\u003c/p\u003e\n"],["\u003cp\u003eThis page covers versions 2.15.0 to 4.16.0 of the API, with version 4.16.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]