(Optional) Encrypting credentials for Talend Runtime access
Encrypt Talend Runtime credentials to strengthen secure access.
To ensure the security of sensitive information, encrypt your credentials as explained in the following procedure.
Before you begin
- Master password.
- In Talend Runtime, define the master password as the encryption secret by following the
procedure Encrypting clear text parameters and
passwords.
Talend Remote Engine uses this password to read the encrypted password for access to Talend Runtime.
As explained in Encrypting clear text parameters and passwords, this master password must be set as an environment variable or a Java system property, TESB_ENV_PASSWORD.
While technically not required to be added to the OS level, it is still recommended to include these variables in your OS environment for enhanced security and easy access by Talend Remote Engine when installed as system service.
- In
<RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.talendruntime.client.cfg,
ensure that the properties.encryption.password property
reads like this:
This configuration ensures that Talend Remote Engine can correctly read the encryption secret you set with TESB_ENV_PASSWORD on the Talend Runtime side.
properties.encryption.password=${env:TESB_ENV_PASSWORD:-${TESB_ENV_PASSWORD}}
- In Talend Runtime, define the master password as the encryption secret by following the
procedure Encrypting clear text parameters and
passwords.
- Encryption algorithm.
- To use the default algorithm, open the
<RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.talendruntime.client.cfg
file and verify that the properties.encryption.algorithm
property reads like
this:The default algorithm is PBEWITHSHA256AND256BITAES-CBC-BC.
properties.encryption.algorithm=${env:TESB_ENV_ALGORITHM:-${TESB_ENV_ALGORITHM:-PBEWITHSHA256AND256BITAES-CBC-BC}}
- If a custom algorithm is required, add the TESB_ENV_ALGORITHM
variable with your chosen algorithm to your OS environment variables or Java
system properties.
Do not modify the default expression used by the properties.encryption.algorithm property in the file <RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.talendruntime.client.cfg.
- To use the default algorithm, open the
<RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.talendruntime.client.cfg
file and verify that the properties.encryption.algorithm
property reads like
this: