Documentation Center

Encrypting sensitive strings

As it is not good practice to include sensitive data in configuration files in clear text, it is recommended to encrypt sensitive data using the command line tool delivered with Online Marketing Explorer.

Procedure

  1. Open a command prompt.
  2. To encrypt passwords in the Tridion.OnlineMarketing.config configuration file, navigate to the folder \Encryption on the Online Marketing Explorer installation media and run the following command:
    ProtectOnlineMarketingConfig
  3. To remove encryption from the passwords in this file, run the following command:
    UnprotectOnlineMarketingConfig
  4. To encrypt passwords in the Tridion.Aggregation.config configuration file, navigate to the folder \Encryption on the Online Marketing Explorer installation media and run the following command:
    ProtectTridionAggregationConfig
  5. To remove encryption from the passwords in this file, run the following command:
    UnprotectTridionAggregationConfig

Results

The command line tool encrypts the following passwords:
  • In the Tridion.Aggregation.config configuration file, the password in the aggregationDatabase section.
  • In the Tridion.OnlineMarketing.config configuration file, the passwords in the tcmAdministratorUser and customUserPasswordConfigurationSection sections.

If encryption failed, the command prompt remains open and describes the nature of the errors. Fix the errors before proceeding.