AMT Help Files
Home AMT Admin Installation and Configuration Defining the System Database

Defining the System Database

The System Database needs to be defined using the cc-config.yaml file. By default, a PostgreSQL database is used, and this guide also assumes the use of a PostgreSQL database.

 Extra information
Visit this page for documentation about all database settings available in the config file.

A dollar sign $ is used to denote the use of a key stored in the Key Vault file. The values for these keys were defined on the previous page.

Follow the instructions below to add the System Database:

  1. Open the cc-config.yaml file in a text editor.
  2. Find the systemDatabase section.
  3. Configure the following database settings:
    1. The Name of the database. warning This value must be exactly the same as the name of the PostgreSQL database.
    2. The Schema name of the database.
    3. Enter the previously defined values of your choosing for the Username, Password, and URL, prefixed by a dollar sign $. The values are:
      $systemDatabaseUser
      $systemDatabasePassword
      $systemDatabaseURL
      
  4. Save the file.

An example of securely storing credentials:

cc-config.yaml : username: $systemDatabaseUser
secrets.txt : systemDatabaseUser=bob
secrets.txt (encrypted) : systemDatabaseUser=Mhxv7HNUQpYejrsKiATZUrsb1GFWQbbizurfXe+nqAwnEXBQNw==

 

This makes it possible for the Control Center to access the system database. To access the Control Center, authentication for the administrator needs to be configured in the cc-config.yaml file as well.

Contents

 Go to top