You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2024/03/01 05:55:52 UTC
Re: [PR] [core] Introduce encryption interface for paimon [incubator-paimon]
JingsongLi commented on code in PR #2903:
URL: https://github.com/apache/incubator-paimon/pull/2903#discussion_r1508513374
##########
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java:
##########
@@ -1089,6 +1090,41 @@ public class CoreOptions implements Serializable {
.defaultValue(MemorySize.ofMebiBytes(10))
.withDescription("The threshold for read file async.");
+ public static final ConfigOption<EncryptionMechanism> ENCRYPTION_MECHANISM =
+ key("encryption.mechanism")
+ .enumType(EncryptionMechanism.class)
+ .defaultValue(PLAINTEXT)
+ .withDescription(
+ "Encryption mechanism for paimon, the default value is plaintext, which means it is not encrypted.");
+
+ public static final ConfigOption<EncryptionKmsClient> ENCRYPTION_KMS_CLIENT =
+ key("encryption.kms-client")
+ .enumType(EncryptionKmsClient.class)
+ .noDefaultValue()
+ .withDescription(
+ "The kms client for encryption, if the user has enabled encryption, the kms client must be specified.");
+
+ public static final ConfigOption<String> HADOOP_SECURITY =
Review Comment:
Should this be a table option?
I think this can be configured from catalog or evironment.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org