Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Need to see password from repository entry

An ex-employee created some repository entries for databases we need to connect to. Unfortunately we are now having problems connecting to one of these. When I pull up the repository entry for the connection, I can see everything except for the db password - he, unfortunately did not write this down anywhere else, so, my question, is how do I get talend to display the password instead of asterisks? On built-in connections the passwords are in full view, so i am hoping it is just a parameter that I need to change. thanks for your assistance.
Labels (2)
10 Replies
mKaposvari
Contributor
Contributor

Hello everyone!

 

If someone finds this post after so many years as I did, I figured out another way because the others were not totally clear or not working.

 

You can go into the code view of the DB connection and there you can find the part of the code which decrypts the password.

Something like:

routines.system.PasswordEncryptUtil.decryptPassword("")

 

If you use tJava you can put that value into a String variable and then print it on the console, like:

String dbPW = routines.system.PasswordEncryptUtil.decryptPassword("");

System.out.println(dbPW);

 

I hope this helps someone getting the DB password!

Kind regards,

Mark