Skip to main content Skip to complementary content

Managing the passwords in configuration files

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.

  • datasources.xml: This file includes the passwords for Talend MDM to access different kinds of databases.

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

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!