The setup tool applies credentials to the policy database. Also, this tool generates the configuration.yml file that configures the PingDataGovernance Policy Administration GUI.
Using setup or environment variables, you can set credentials for both the admin user and the application user.
Because this setup is an initial setup, the Policy Admin GUI is not running.
Set credentials for both the admin user and the application user.
Setting credentials with the setup tool.Include the following options and the credential values with setup:
For example, the following command sets the policy database admin credentials to
Passw0rdand the policy database application credentials to
bin/setup --dbAdminUsername adminuser \ --dbAdminPassword Passw0rd \ --dbAppUsername appuser \ --dbAppPassword S3cret \ --interactive
Setting credentials with environment variables.
Using environment variables, you can avoid credentials showing up in process lists and command-line history.The following example sets the policy database admin credentials to
Passw0rdand the application user credentials to
env PING_DB_ADMIN_USERNAME=adminuser \ PING_DB_ADMIN_PASSWORD=Passw0rd \ PING_DB_APP_USERNAME=app \ PING_DB_APP_PASSWORD=S3cret \ bin/setup
Using environment variables at initial setup generates the configuration.yml file with the
Passw0rdcredentials and the
S3cretcredentials instead of the default credentials.
For more information about these and other UNIX environment variables you can use to override configuration settings, see Starting PingDataGovernance Policy Administration GUI.