In the tSendMail component, we can use context variables.
For the password of the account used for the SMTP server, you can have also a context variable.
So the encrypted version of the password is saved in default.properties file
now the question is: if I move my job and need to reconfigure the job with a new smtp server how can I do it?
If I modify the encrypted password, of course it does not work anymore.
So I am looking for a component to be able to reencrypt the new password.
I don't need to know the encryption algorithm.
I just want to enter "password" to get the encrypted version to update the default.properties
Hello Talend experts, is it a dream?
Is there a solution
Why it does not exist?
Thanks
Didier
Wonderful it works! Thanks!
Now the question is: I can set a context vriable with encrypted variable. How can I save it in the file including the context (default.properties).
Doing something a dump of the current version of the context variables
I have tried :
but the default.properties file is not updated!!!
The encrypted password should only by set directly in the default.properties file and not in the studio. In the studio the encryption is done automatically (in such a case you would encrypt an already encrypted password).
You can save this file just all other csv file also (in this case the = is the delimiter and as the line separator use the UNIX style!)