PingAuthorize

Specifying database credentials when you start the GUI

You can override database credentials for the admin account and application account in the configuration.yml file when you start the GUI by using the UNIX environment variables PING_DB_ADMIN_USER, PING_DB_ADMIN_PASSWORD, PING_DB_APP_USER, and PING_DB_APP_PASSWORD.

About this task

For more information about these and other UNIX environment variables you can use to override configuration settings, see Starting PingAuthorize Policy Editor.

Steps

  1. Stop the Policy Editor.

    bin/stop-server
  2. Set the environment variables and start the Policy Editor.

Example

The following example starts the server with the overridden policy database admin credentials adminuser/ Passw0rd and the overridden policy database application credentials app/ S3cret. These environment variables override any values in configuration.yml.

env PING_DB_ADMIN_USERNAME=adminuser \
  PING_DB_ADMIN_PASSWORD=Passw0rd \
  PING_DB_APP_USER=app \
  PING_DB_APP_PASSWORD=S3cret \
  bin/start-server