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
- Open a command prompt.
- 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
- To remove encryption from the passwords in this file, run the following command:
UnprotectOnlineMarketingConfig
- 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
- 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.