One Star

How to deal with encrypted passwords in Talend config files?

In Talend there are several places with encrypted passwords, for example:

  • tac\apache-tomcat\webapps\org.talend.administrator\WEB-INF\classes\configuration.properties
  • dataprep\config\application.properties

So stuff like this:
install.defaultaccount.password=oV0/gYJwoWqvorcePQ+Mrg==,Encrypt
mongodb.password=gpsMQ8+aIfGTtKEKuAWw8Q==

 

I know that I can change a password to clear text, restart Tomcat, and it encrypts it for me. This works for TAC. But I'm not sure if it works for other Talend components as well (the Talend Installation Guide does not say so). For Data Preparation, for example, there is even this ",Encrypt" missing at the end of the encrypted password.

 

So my question is:

1. How do I verify encrypted passwords? I mean I do not always want to change a password, but to verify which one I used (for example, "Oh yeah, I really used password "dprep" -> "V4+wDTj9WTW5Qgr214HCXQ==" and not "admin").

 

2. How do I create encrypted passwords from a command line? Chapter 3.4.4.6. of the Talend Installation Guide says there is an encrypt.sh in MDM, but I don't want to install a full blown MDM just to run this one line of code (it does "java -cp "%~dp0/../../apache-tomcat/webapps/talendmdm/WEB-INF/lib/*" org.talend.mdm.commmon.util.core.Crypt %1").

 

 

1 REPLY
Moderator

Re: How to deal with encrypted passwords in Talend config files?

Hello,

Thanks for posting your issue here.

We have redirected your issue to Talend TAC experts and then come back to you as soon as we can.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.