You can generate an encryption key to encrypt sensitive information in the Talend Identity and Access Management configuration file.
A default encryption key is delivered with the installation of Talend Identity and Access Management. It is recommended to replace it with your own encryption in the keys.properties file.
- Go to the apache-tomcat folder of your Talend Identity and Access Management installation.
- Open the conf/keys.properties file. If it does not exist, you need to create it.
Generate your own encryption secret.
For example, using this OpenSSL command:
openssl rand -base64 32
In the keys.properties file, added this content:
Save your changes.
If the Talend Identity and Access Management is already on, restart it so that the configuration takes effect.
- all secrets in the clients/*.json files.
If you have started Talend Identity and Access Management before changing the encryption key, your properties have already been encrypted with the default key. In this situation, you must write all the encrypted values again in their original plain text values, because the new encryption key cannot decrypt those properties.