Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCP bucket object encryption and metadata in python

Hello Engineers,

In the next code I am trying to upload an encripted file and download using same customer encryption key.

carlosdperez_0-1716589703618.png

The file is uploading (and downloading) in the bucket successfully but some metadata is missing in GCP bucket
and also when trying to check it from my code.
I can see file size but I can't check the crc32c and md5hash.

carlosdperez_1-1716589765800.png

carlosdperez_2-1716589811869.png

Bucket location is us_central

I can't find an example in the web how to work with customer managed encripted files with metadata.

Could you share some example code to correctly made this encripted file upload with metadata?

Or tell me if there is any missing bucket configuration or what I'm doing wrong..

Thanks!

Carlos

1 0 143
0 REPLIES 0
Top Labels in this Space