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

Configure the Customer-Managed Encryption Key (CMEK) for an upload. 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 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.

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

Definition at line 273 of file well_known_parameters.h.

Member Function Documentation

◆ well_known_parameter_name()

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

Definition at line 276 of file well_known_parameters.h.