I have Mule application and using Apache Kafka connector to connect the topic. The mule-kakfa connector jar is "mule-module-kafka-2.1.0.jar" The connector uses the producer.properties and consumer.properties file and these files contains "ssl.truststore.password" in plain text. Can you please suggest how to encrypt these password and use in mule flow.
We are using spring EnvironmentStringPBEConfig but it wont decrypt the password provided in consumer.properties and producer.properties file.
Mule Kafka connector code in mule flow.
<apachekafka:config name="Apache_Kafka__Configuration" consumerPropertiesFile="consumer.properties"
producerPropertiesFile="producer.properties" doc:name="Apache Kafka: Configuration"/>
Can any one suggest how to use encrypted passwords in Kafka connector properties file.