Bug #119568 Calculate and send checksum header for uploads to support S3 Object Lock
Submitted: 17 Dec 3:05
Reporter: Hai Nguyen Xuan Email Updates:
Status: Open Impact on me:
None 
Category:Shell Dump & Load Severity:S4 (Feature request)
Version:8.4.7, 9.5.0 OS:Any
Assigned to: CPU Architecture:Any

[17 Dec 3:05] Hai Nguyen Xuan
Description:
Hi team,

AWS S3 has a feature called Object Lock (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html), which prevents objects from being deleted for a fixed amount of time or indefinitely. This helps meet certain regulatory/legal requirements.

To upload an object to an S3 bucket with object lock enabled, the checksum of the object has to be calculated and included in the Content-MD5 or x-amz-sdk-checksum-algorithm header.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-loc...

Currently, MySQL Shell doesn't have an option to calculate the object checksum and send the checksum header when uploading the backup dump to S3. Request to add this feature for MySQL Shell.

Thank you.

How to repeat:
N/A