Hi,
I am using Kafka Connect Couchbase 4.1.11, when i get connector config using rest call to connector (/connectors/cbkc-name/config) then i am getting passwords in plain test of couchbase.password and couchbase.trust.store.password.
Same these 2 properties stored in plain test in config topic also. means passwords stowing in plain test in kafka topic as well in rest call endpoint.
Is there any way to hide this password, we had try by creating env variable like KAFKA_COUCHBASE_TRUST_STORE_PASSWORD and KAFKA_COUCHBASE_PASSWORD to override it but again connector assigning it to these properties.
Rest call response:
{
“connector.class”: “com.couchbase.connect.kafka.CouchbaseSourceConnector”,
“couchbase.persistence.polling.interval”: “0”,
“tasks.max”: “2”,
“couchbase.trust.store.path”: “/run/secrets/keystores/truststore/pki-common-truststore.jks”,
“couchbase.black.hole.topic”: “Couchbase_Kafka_Connector_Black_Hole”,
“couchbase.seed.nodes”: “cluster-srv”,
“couchbase.source.handler”: “com.ResourceHandler”,
“couchbase.enable.tls”: “true”,
“couchbase.bucket”: “data.consistency”,
“couchbase.stream.from”: “NOW”,
“couchbase.username”: “data-consistency”,
“amdocs.app.name”: “data-consistency”,
“name”: “consistency_Data_Consistency_Subscribe”,
“couchbase.password”: “=CB-Password”,
“couchbase.trust.store.password”: “KS-Password”,
“couchbase.topic”: “Data_Consistency_Subscribe”
}