You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jun Qin (Jira)" <ji...@apache.org> on 2022/11/26 08:35:00 UTC

[jira] [Created] (FLINK-30220) Hide user credentials in Flink SQL JDBC connector

Jun Qin created FLINK-30220:
-------------------------------

             Summary: Hide 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


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)