Skip to content

Commit

Permalink
Fix #18441: kafka connect password as secret value (#18742)
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavmohta09 authored and harshach committed Nov 24, 2024
1 parent b39e792 commit 078424f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, config: KafkaConnectConnection):
auth = None
ssl_verify = config.verifySSL
if config.KafkaConnectConfig:
auth = f"{config.KafkaConnectConfig.username}:{config.KafkaConnectConfig.password}"
auth = f"{config.KafkaConnectConfig.username}:{config.KafkaConnectConfig.password.get_secret_value()}"
self.client = KafkaConnect(url=url, auth=auth, ssl_verify=ssl_verify)

def get_cluster_info(self) -> Optional[dict]:
Expand Down

0 comments on commit 078424f

Please sign in to comment.