Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThe content outlines the structure and fields for initializing a location-level encryption specification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erequest\u003c/code\u003e field within the JSON represents the original request for initialization, and it is a nested object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInitializeEncryptionSpecRequest\u003c/code\u003e is used to provide details for encryption specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eencryptionSpec\u003c/code\u003e field, within the \u003ccode\u003eInitializeEncryptionSpecRequest\u003c/code\u003e, defines the specifics for CMEK encryption, including the requirement that the KMS key and the endpoint are in the same region.\u003c/p\u003e\n"],["\u003cp\u003eLeaving the \u003ccode\u003ekms_key_name\u003c/code\u003e empty within \u003ccode\u003eencryptionSpec\u003c/code\u003e means no encryption will be enforced.\u003c/p\u003e\n"]]],[],null,["# InitializeEncryptionSpecMetadata\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [InitializeEncryptionSpecRequest](#InitializeEncryptionSpecRequest)\n - [JSON representation](#InitializeEncryptionSpecRequest.SCHEMA_REPRESENTATION)\n\nMetadata for initializing a location-level encryption specification.\n\nInitializeEncryptionSpecRequest\n-------------------------------\n\nThe request to initialize a location-level encryption specification."]]