Click here to Skip to main content
16,022,060 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I encrypt password in Kafka connect properties file

My property file looks like below


connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
Connection.url = hsbc:sqlserver://<connection string="">
connection.user = <sql user="" id="">
connection.passwor = <plain text="" password="">
mode=incrementing
name=<topic name="">
schema.partern=dbo
query =
table.types = VIEW
incrementing.column.name=Application_Identity
How do I avoid using plain text password to avoid security violation?

Im using Kafka in Linux server and Database as SqL server.

What I have tried:

Tried to read data from physical file with limited access to that file - but still the password is in plain text - this too did not solve the issue
Posted
Comments
[no name] 5-Oct-24 5:06am    
Don't store the password. Get it from the user when they want to use the database. Any other method is not secure.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900