gaborgsomogyi commented on code in PR #28070:
URL: https://github.com/apache/flink/pull/28070#discussion_r3180994184


##########
flink-filesystems/flink-s3-fs-native/src/main/java/org/apache/flink/fs/s3native/S3EncryptionConfig.java:
##########
@@ -105,8 +108,15 @@ public static S3EncryptionConfig sseKms() {
     }
 
     /**
-     * Creates a config for SSE-KMS encryption with a specific KMS key.
+     * Creates a config for SSE-KMS encryption with the default KMS key and an 
encryption context.
      *
+     * @param encryptionContext The encryption context key-value pairs
+     */
+    public static S3EncryptionConfig sseKms(Map<String, String> 
encryptionContext) {
+        return new S3EncryptionConfig(EncryptionType.SSE_KMS, null, 
encryptionContext);
+    }

Review Comment:
   Changed



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