The Talend ESB Runtime provides a utility to enable you to encrypt your desired clear text parameters and passwords. You can there after use the encrypted values in your configuration and property files.
Follow these steps to use this utility:
Set the environment variable
Where pwd can be anything you specified.
This is the master password used by the container to encrypt all the desired parameters and passwords.
Start the Talend Runtime container.
tesb-encryptor-commandfeature in the container:
Get an encrypted string for 'tadmin' for example by entering the following command in the container:
karaf@trun()> tesb:encrypt-text tadmin
You will get the following result: