A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
JSON representation
{"name": string,"kmsKey": string}
Fields
name
string
Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
kmsKey
string
Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
[[["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-07-30 UTC."],[[["\u003cp\u003eThis content outlines a customer-managed encryption key specification for securing resources.\u003c/p\u003e\n"],["\u003cp\u003eThe specification uses a JSON format with \u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003ekmsKey\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ename\u003c/code\u003e is the immutable resource name of the encryption key specification.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekmsKey\u003c/code\u003e is the customer-managed encryption key name; leaving it empty defaults to the provider's encryption key.\u003c/p\u003e\n"]]],[],null,["# EncryptionSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`)."]]