plusplusjiajia opened a new pull request, #8331:
URL: https://github.com/apache/paimon/pull/8331

   ### Purpose
   hadoop-aliyun exposes only the SSE algorithm 
(fs.oss.server-side-encryption-algorithm), never a custom CMK key-id, even 
though the OSS SDK supports it. Following the pattern of PR #6413 (reflect into 
the underlying OSSClient), when fs.oss.server-side-encryption-key-id is set we 
swap the client's object/multipart operations for subclasses that stamp the 
OSS-native SSE-KMS headers (x-oss-server-side-encryption=KMS + 
x-oss-server-side-encryption-key-id=<CMK>) onto the request metadata.
   
   Only PutObject and InitiateMultipartUpload are overridden; 
UploadPart/HeadObject/GetObject are left untouched (stamping SSE headers on 
those makes OSS reject the request with 400).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to