public sealed class CryptoKeyConfig : IMessage<CryptoKeyConfig>, IEquatable<CryptoKeyConfig>, IDeepCloneable<CryptoKeyConfig>, IBufferMessage, IMessage
The crypto key configuration. This field is used by the Customer-managed
encryption keys (CMEK) feature.
The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
[[["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\u003eThe latest version available for \u003ccode\u003eCryptoKeyConfig\u003c/code\u003e is 2.4.0, with older versions back to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCryptoKeyConfig\u003c/code\u003e is a class that configures customer-managed encryption keys (CMEK) for data encryption and decryption.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCryptoKeyConfig\u003c/code\u003e class 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, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eKeyReference\u003c/code\u003e (string) and \u003ccode\u003eKeyReferenceAsCryptoKeyName\u003c/code\u003e (\u003ccode\u003eCryptoKeyName\u003c/code\u003e) to manage the key used for encryption/decryption.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCryptoKeyConfig\u003c/code\u003e class has two constructors: one default and the other accepting another \u003ccode\u003eCryptoKeyConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]