Managing the passwords in configuration files - 7.0

Talend Data Fabric Installation Guide for Linux

EnrichVersion
7.0
EnrichProdName
Talend Data Fabric
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

For the sake of security, the passwords are encrypted in the configuration files datasources.xml and mdm.conf under the directory <MDM_ROOT>/conf/, so that the actual password string is not shown in plain text.

Here MDM_ROOT refers to where the MDM HOME file is placed after you install the MDM modules. For more information about how to install MDM modules, see Installing the MDM server manually.

  • datasources.xml: This file includes the passwords for Talend MDM to access different kinds of databases. For an example about how to use the datasources.xml file, see Managing how MDM Server uses SQL databases.

  • mdm.conf: This file contains all the configuration information for MDM Server, which includes two passwords: admin.password and technical.password. For more information, seeConfiguring MDM Server.

If needed, you can use a plain text password to change the encrypted default password.

Alternatively, you can encrypt a password in text mode first and then use it in the configuration files directly. For more information, see Encrypting the passwords in text mode.

The following example shows how to use a plain text password to change the default password of the default administrator user of the MDM server in the file mdm.conf.

Procedure

  1. Open the file <MDM_ROOT>/conf/mdm.conf.
  2. Locate the encrypted default admin password.
    admin.password=aYfBEdcXYP3t9pofaispXA==,Encrypt
  3. Remove the existing password, including ,Encrypt, and then enter a new plain text password for the default administrator user.
  4. Save your changes and close the file.

Results

Upon the next startup of the MDM server, the new password will be encrypted and the file will be updated with this encrypted new password.