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-03-21 UTC."],[[["This webpage provides access to the documentation for the `KmsKeyName` structure within the Google Cloud Storage C++ library, spanning versions 2.11.0 up to the latest release candidate, 2.37.0-rc."],["The content is about setting up Customer-Managed Encryption Keys (CMEK) for object uploads in Google Cloud Storage, enabling users to encrypt their data with keys managed through Google Cloud's Key Management Service."],["CMEK allows for the encryption of objects during insertion or copying, by specifying the key in the format `projects/{PROJECT_ID}/locations/{LOCATION_ID}/keyRings/{KEY_RING_ID}/cryptoKeys/{CRYPTO_KEY_ID}`."],["The page includes a static function, `well_known_parameter_name()`, which returns a `char const *`, though its specific purpose is not further detailed in this information."]]],[]]