Specifying database credentials when you start the GUI - PingAuthorize - 9.1

PingAuthorize

bundle
pingauthorize-91
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.1
category
ContentType
Product
Productdocumentation
paz-91
pingauthorize
ContentType_ce
Product documentation

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.

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

  1. Stop the Policy Editor.
    bin/stop-server
  2. Set the environment variables and start the Policy Editor.
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