RBAC database configuration

Credential information for the RBAC service is stored in a PostgreSQL database. Configuration information for this database is in the rbac-database section of the config file.

For example:

rbac-database: {
  classname: org.postgresql.Driver
  subprotocol: postgresql
  subname: "//<PATH_TO_HOST>:5432/perbac"
  user: <USERNAME>
  password: <PASSWORD>
}

It contains these parameters:

classname

Used by the RBAC service for connecting to the database.

The value must be org.postgresql.Driver.

subprotocol

Used by the RBAC service for connecting to the database.

The value must always be postgresql.

subname

The JDBC connection path used by the RBAC service for connecting to the database.

The value is a string-formatted URI path consisting of the hostname and configured port for the PostgreSQL database along with perbac, such as

"//<PATH_TO_HOST>:5432/perbac"

perbac is the database the RBAC service uses to store credentials.

user

This is the username the RBAC service uses to connect to the PostgreSQL database.

password

This is the password the RBAC service uses to connect to the PostgreSQL database.