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

[jira] [Closed] (FLINK-30220) Secure user credentials in Flink SQL JDBC connector

     [ https://issues.apache.org/jira/browse/FLINK-30220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn Visser closed FLINK-30220.
----------------------------------
    Resolution: Duplicate

[~qinjunjerry] I've closed it since the ticket you're linking to already talks about a credential mechanism for Flink SQL in general. 

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