Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Static Public Member Functions | List of all members
google::cloud::storage::DestinationKmsKeyName Struct Reference

Configure the Customer-Managed Encryption Key (CMEK) for an rewrite. More...

#include <google/cloud/storage/well_known_parameters.h>

Static Public Member Functions

static char const * well_known_parameter_name ()
 

Detailed Description

Configure the Customer-Managed Encryption Key (CMEK) for an rewrite.

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 rewrite operation. 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.

See also
https://cloud.google.com/storage/docs/encryption/customer-managed-keys for a general introduction to CMEK in GCS.

Definition at line 109 of file well_known_parameters.h.

Member Function Documentation

◆ well_known_parameter_name()

static char const* google::cloud::storage::DestinationKmsKeyName::well_known_parameter_name ( )
inlinestatic

Definition at line 113 of file well_known_parameters.h.