public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class EncryptionConfig.
Optional. The Cloud KMS key resource name to use for persistent disk
encryption for all instances in the cluster. See Use CMEK with cluster
data
for more information.
Optional. The Cloud KMS key resource name to use for cluster persistent
disk and job argument encryption. See Use CMEK with cluster data
for more information.
When this key resource name is provided, the following job arguments of
the following job types submitted to the cluster are encrypted using CMEK:
[[["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 reference documentation for the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its usage for configuring cluster encryption settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class is a sealed class, implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists multiple versions of the API, starting from the latest \u003ccode\u003e5.17.0\u003c/code\u003e down to \u003ccode\u003e3.1.0\u003c/code\u003e, showing that older versions are available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class allows for the specification of Cloud KMS key resource names for both persistent disk encryption (using \u003ccode\u003eGcePdKmsKeyName\u003c/code\u003e) and for encrypting specific job arguments (using \u003ccode\u003eKmsKey\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKeyAsCryptoKeyName\u003c/code\u003e property provides a \u003ccode\u003eCryptoKeyName\u003c/code\u003e-typed view of the \u003ccode\u003eKmsKey\u003c/code\u003e property, aiding in resource name handling.\u003c/p\u003e\n"]]],[],null,[]]