Skip to main content
Version: 2.1.0

UNH Application Environment Variables

Backend service for the UNH module.

NameDefaultDescription
APP_PORT'5000'The application port for serving HTTP requests.
LOG_LEVEL'info'The logging level. info for production, debug for development.
AES_256_KEYThe AES-256 key in base64 encoded string for encrypting and decrypting channel credentials.
IAMS_KEYCLOAK_HOSTThe hostname of the IAMS Keycloak server.
IAMS_KEYCLOAK_PORTThe port number of the IAMS Keycloak server.
IAMS_KEYCLOAK_REALMThe realm of the IAMS Keycloak server.
IAMS_KEYCLOAK_CLIENT_IDThe client id of the IAMS Keycloak server.
IAMS_KEYCLOAK_CLIENT_SECRETThe client secret of the IAMS Keycloak server.
IAMS_AAS_HOSTThe hostname of the IAMS AAS server.
IAMS_AAS_PORTThe port number of the IAMS AAS server.
SQL_USER'postgres'The database user to connect to the database.
SQL_PASSWORD'postgres'The password of the database user.
SQL_HOST'localhost'The hostname of the database.

SQL_PORT'5432'The port number of the database.

SQL_PLUGIN_NAME'postgres'The name of the supported SQL databases. currently support

postgres only
SQL_DATABASE_NAME'postgres'The name of the database.

SQL_SCHEMA_NAME'public'The name of the schema.

SQL_MAX_CONNS'10'The maximum number of connections to the database.

SQL_MAX_IDLE_CONNS'10'The maximum number of idle connections to the database.

SQL_MAX_CONN_LIFETIME'10m'The maximum lifetime of a connection to the database.

SQL_SSL_MODE'disable'The SSL mode to use when connecting to the database.