From 0235f9f17746deee1327731e643626d336dd7544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Chy=C5=BCy?= Date: Tue, 26 Nov 2024 10:00:26 +0100 Subject: [PATCH] Update ConnectorConfigDefinition.java (#1009) Co-authored-by: Sudesh Wasnik <67974618+sudeshwasnik@users.noreply.github.com> --- .../kafka/connector/config/ConnectorConfigDefinition.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/snowflake/kafka/connector/config/ConnectorConfigDefinition.java b/src/main/java/com/snowflake/kafka/connector/config/ConnectorConfigDefinition.java index e9823eab3..6d9820304 100644 --- a/src/main/java/com/snowflake/kafka/connector/config/ConnectorConfigDefinition.java +++ b/src/main/java/com/snowflake/kafka/connector/config/ConnectorConfigDefinition.java @@ -123,7 +123,7 @@ public static ConfigDef getConfig() { OAUTH_CLIENT_ID) .define( OAUTH_CLIENT_SECRET, - ConfigDef.Type.STRING, + ConfigDef.Type.PASSWORD, "", ConfigDef.Importance.HIGH, "Client secret of target OAuth integration", @@ -133,7 +133,7 @@ public static ConfigDef getConfig() { OAUTH_CLIENT_SECRET) .define( OAUTH_REFRESH_TOKEN, - ConfigDef.Type.STRING, + ConfigDef.Type.PASSWORD, "", ConfigDef.Importance.HIGH, "Refresh token for OAuth", @@ -184,7 +184,7 @@ public static ConfigDef getConfig() { JVM_PROXY_USERNAME) .define( JVM_PROXY_PASSWORD, - ConfigDef.Type.STRING, + ConfigDef.Type.PASSWORD, "", ConfigDef.Importance.LOW, "JVM proxy password",