One suggested way to run jobs is to save context parameters in properties files. Like this one:
#
#Wed Dec 16 18:23:03 CET 2015
MySQL_AdditionalParams=noDatetimeStringSync\=true
MySQL_Port=3306
MySQL_Login=root
MySQL_Password=secret_password_to_cipher
MySQL_Database=talend MySQL_Server=localhost
This is really easy and useful, but the issue with this is that passwords are saved in clear.
So I'm looking for ways to do easily ciphering. Here are 2 very insteresting questions already discussed in Stack overflow about password ciphering technics:
But they are Java native and I'm searching for a better Talend integration. I've already tried different ways in my Talend jobs:
- Simple obfuscation using base64 encoding of passwords
- Using tEncrypt and tDecrypt components from the forge
- Using Jasypt ot JavaXCrypto librairies
- Using pwdstore routine from the forge
All these technics are described in a tutorial (in french, sorry) explaining how to crypt passwords in Talend
But another issue is encountered: keys used to cipher/uncipher are always in clear, so if you know good ways to address this point I'll be glad to experiment it.