Using the PingIntelligence Dashboard command line interface, you can obfuscate the keys and passwords configured in The following keys and passwords are obfuscated:

  • abs.access_key
  • abs.secret_key
  • es.password

Dashboard ships with a default dashboard_master.key which is used to obfuscate the keys and passwords. It is recommended to generate your own dashboard_master.key.

Note: During the process of obfuscation of keys and password, Dashboard must be stopped. For more information, see Start and stop Dashboard.

The following diagram summarizes the obfuscation process:

Generate dashboard_master.key

You can generate the dashboard_master.key by running the generate_obfkey command in the Dashboard CLI:

/opt/pingidentity/dashboard/bin/ generate_obfkey -u admin -p

Please take a backup of config/dashboard_master.key before proceeding.

Warning: Once you create a new obfuscation master key, you should obfuscate all config keys also using obfuscate_keys

Warning: Obfuscation master key file /opt/pingidentity/dashboard/config/dashboard_master.key already exist. This command will delete it create a new key in the same file

Do you want to proceed [y/n]: y

creating new obfuscation master key
Success: created new obfuscation master key at /opt/pingidentity/dashboard/config/dashboard_master.key

Obfuscate key and passwords

Enter the keys and passwords in clear text in file. Run the obfuscate_keys command to obfuscate keys and passwords:

/opt/pingidentity/dashboard/bin/ obfuscate_keys -u admin -p

Please take a backup of config/ before proceeding

Enter clear text keys and password before obfuscation.

Following keys will be obfuscated
 config/ abs.access_key, abs.secret_key and es.password

Do you want to proceed [y/n]: y

obfuscating /opt/pingidentity/dashboard/config/

Success: secret keys in /opt/pingidentity/dashboard/config/ obfuscated

Start the Dashboard after passwords are obfuscated. For more information, see Start and stop Dashboard.

Important: After the keys and passwords are obfuscated and the Dashboard has started, move the dashboard_master.key to a secure location away from the Dashboard for security reasons. Before restarting the Dashboard, the dashboard_master.key must be present in the /opt/pingidentity/dashboard/config/ directory.