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

   ### Purpose
   
     `OSSFileIO`'s SSE-KMS write path hard-coded the 
`x-oss-server-side-encryption`
     header value as `"KMS"`. This makes the SSE method configurable: it is 
read from
     `fs.oss.server-side-encryption-algorithm` (hadoop-aliyun's native key, 
already
     read on the atomic-write path), defaulting to `"KMS"` when a CMK
     (`fs.oss.server-side-encryption-key-id`) is set but no method is 
configured.
   
     The method is threaded through the CMK-stamping operation swap
     (PutObject / CopyObject / InitiateMultipartUpload), and the atomic-write 
path now
     reuses the same constant instead of a duplicate string literal. Behaviour 
is
     unchanged for existing callers (default `"KMS"`); the method is now 
configurable
     and consistent with `fs.oss.server-side-encryption-algorithm` / 
hadoop-aliyun.
   


-- 
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