[ https://issues.apache.org/jira/browse/FLINK-30220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17640511#comment-17640511 ]
Jun Qin commented on FLINK-30220: --------------------------------- The same is needed for JDBC connector: CREATE TABLE MyUserTable ( id BIGINT, name STRING, age INT, status BOOLEAN, PRIMARY KEY (id) NOT ENFORCED ) WITH ( 'connector' = 'jdbc', 'url' = 'jdbc:mysql://localhost:3306/mydatabase', 'table-name' = 'users', 'username' = 'a-username', 'password' = 'a-password'); > Secure user credentials in Flink SQL JDBC connector > --------------------------------------------------- > > Key: FLINK-30220 > URL: https://issues.apache.org/jira/browse/FLINK-30220 > Project: Flink > Issue Type: Improvement > Reporter: Jun Qin > Priority: Major > > Similar to FLINK-28028, when using Flink SQL JDBC connector, we should also > have a way to secure the username and the password used in the DDL: > {code:java} > CREATE TABLE MyUserTable ( > id BIGINT, > name STRING, > age INT, > status BOOLEAN, > PRIMARY KEY (id) NOT ENFORCED > ) WITH ( > 'connector' = 'jdbc', > 'url' = 'jdbc:mysql://localhost:3306/mydatabase', > 'table-name' = 'users', > 'username' = 'a-username', > 'password' = 'a-password' > ); > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)