Configure the Customer-Managed Encryption Key (CMEK) for an upload.
With CMEK you can use keys generated by Google Cloud's Key Management Service to encrypt the data in your objects. Use this option to configure the CMEK of an object created as part of a insert or copy. Key names can be found from the Google Cloud console, and are in the projects/{PROJECT_ID}/locations/{LOCATION_ID}/keyRings/{KEY_RING_ID}/cryptoKeys/{CRYPTO_KEY_ID} format.
[[["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-04-02 UTC."],[[["This webpage provides access to the documentation for various versions of the `KmsKeyName` struct within the Google Cloud Storage C++ library, ranging from version 2.11.0 to the latest release candidate, 2.37.0-rc."],["The most current version available is 2.37.0-rc, which is the most up to date version, although not officially released yet."],["The page also details the configuration of Customer-Managed Encryption Keys (CMEK) for data encryption in objects managed by the Google Cloud Key Management Service."],["CMEK configuration is available for objects being created or copied, and the page provides a link for more detailed general information regarding the usage of CMEK."],["The Google Cloud Key Management service provides the keys, and their names are in the `projects/{PROJECT_ID}/locations/{LOCATION_ID}/keyRings/{KEY_RING_ID}/cryptoKeys/{CRYPTO_KEY_ID}` format."]]],[]]