When using Kafka Connect Api to post connectors or check their statuses, the password are visible in plain text.
To hide this sensitive information, we went with the approach of Externalising Secrets mentioned by in the documentation
This helped us hide sensitive information when trying to post connectors, but the information is still visible in the /connectors/<connector-name>/config
api.
I am unable to understand that is this the expected behaviour or is there an issue in in the implementation.
I have taken the following steps to implement the approach.
Since we use docker for implementing Kafka Connect, we pass the following config
-e CONNECT_CONFIG_PROVIDERS=file
-e CONNECT_CONFIG_PROVIDERS_FILE_CLASS=org.apache.kafka.common.config.provider.FileConfigProvider
While posting a connector, we post sensitive values in the following manner
"connection.user": "${file:<file-location>:<property-name>}",
"connection.password": "${file:<file-location>:<property-name>}"
I would really appreciate if someone can guide me, with the steps that I am missing here.
Thanks