- Target Audience
- TRE Operator
- Time to read
- 30 min
Configuration Reference
This page provides a reference for the environment variables that are used to configure the TRE Agent and its dependencies.
General App Configuration
This section contains the environment variables that are used to configure the general app.
| Environment Variable | Description |
|---|---|
DEPLOYMENT_VERSION | The version of the TRE Agent app you are deploying. Find the version
here ,
between |
AppName | Name of the application shown on the Navigation bar of TRE Agent UI. Default is |
PGLOGIN and PGPASSWORD | The admin credentials for the PostgreSQL database used by the TRE Agent. These are recommended to be changed from the default values. |
EncryptionSettingsKey | The encryption settings (in 16 bytes Base64 String format) for the TRE Agent. They must be set and can be generated using the |
| The credentials for the PostgreSQL database used to hold the TRE data, e.g., OMOP CDM data. Camunda will use these credentials to create the ephemeral user accounts for the TES executing agent (e.g., Funnel) to access the TRE data. |
TreName | The name identifier for this TRE instance. |
TRE_KEYCLOAK_URL | The URL of the TRE Layer’s Keycloak server, for example,
|
TesAPIUrl | Where TESK or Funnel API is hosted. For example,
|
TreApiPublicUrl | The public URL for the TRE Agent API. For example,
|
healthCheckSchedule | The interval, in minutes, at which the TRE health check runs. Default is
|
daysBeforeHealthLogDeletion | The number of days to retain health check logs before they are
automatically deleted. Default is |
CONFIG_PATH | The path for the to the shared configuration files (e.g., realm config,
ldap, vault, init scripts) for the TRE Layer. Default is
|
LDAP, Vault, Camunda, RabbitMQ, Serilog Configuration
This section contains the environment variables that are used to configure the LDAP, Vault, Camunda, RabbitMQ, and Serilog services.
| Environment Variable | Description |
|---|---|
LDAPAdminPassword and LDAPConfigPassword | The credentials for the OpenLDAP server used by the TRE Agent. These are recommended to be changed from the default values. |
CamundaUsername and CamundaPassword | The credentials for the Camunda server used by the TRE Agent. These are recommended to be changed from the default values. |
VaultStartupCommand | The command to start the Vault server. This is used to store and
retrieve the ephemeral user credentials for the credential management
process. In production, this should be set to |
VaultRootToken | In dev mode (or Demostack), this is pre-filled with a default value. In production, to generate a new root token, do the steps detailed here. |
RabbitMQDefaultPassword | The default password for the RabbitMQ server used by the TRE Agent.
Change this from the default value in production. Default RabbitMQ
username is set to |
SerilogLevel | The Serilog logging level for the TRE Agent. Default is |
S3 configuration
This section contains the environment variables that are used to configure the S3 service.
| Environment Variable | Description |
|---|---|
TRES3ConsoleUrl | Where the S3 TRE UI is hosted. For example,
|
TRES3OpenidSecret | The OpenID secret for the S3 client of Dare-TRE realm. There is a
default value in the realm configuration, but you should regenerate it
for production deployments. Do this by navigating to |
TRES3RootUser | The admin user for the TRE S3 server. |
TRES3RootPass | The admin password for the TRE S3 server. |
Submission Layer Connection configuration
This section contains the environment variables that are used to configure the connection to the Submission Layer.
| Environment Variable | Description |
|---|---|
syncSchedule | Sync Projects & Users between TRE & Submission Layer - default every 10 minutes (in minutes). |
scanSchedule | Scan Submission Layer for available submissions - default every 1 minute (in minutes). |
SubmissionS3RootUser | The root user for the Submission Layer S3 server. |
SubmissionS3RootPass | The root password for the Submission Layer S3 server. |
SubmissionS3ApiUrl | Point to Submission Layer S3 server, used by TRE Agent. For example,
|
SubmissionS3ConsoleUrl | The URL for the Submission Layer’s S3 admin console. For example,
|
SUBMISSION_KEYCLOAK_URL | The URL of the Submission Layer’s Keycloak server, for example,
|
SubmissionAPIAddressURL | The Submission API address URL. For example,
|
OpenID Configuration
This section contains the environment variables that are used to configure the OpenID configuration.
| Environment Variable | Description |
|---|---|
TRES3OpenidSecret | The OpenID secret for the S3 client of Dare-TRE realm. There is a
default value in the realm configuration, but you should regenerate it
for production deployments. Do this by navigating to |
EgressKeyCloakClientUIRedirectURL | The URL for the Egress Layer’s Keycloak redirect URL. For example,
|
EgressKeyCloakSecret | The OpenID secret for the Egress Keycloak client |
SubmissionAPIKeyCloakClientUIRedirectURL | The URL for the Submission API’s Keycloak redirect URL. For example,
|
SubmissionAPIKeyCloakSecret | The OpenID secret for the Submission API Keycloak client
|
TreKeyCloakClientUIRedirectURL | The URL for the TRE UI’s Keycloak redirect URL. For example,
|
TreKeyCloakSecret | The OpenID secret for the TRE UI Keycloak client |
TreAPIKeyCloakClientUIRedirectURL | The URL for the TRE API’s Keycloak redirect URL. For example,
|
TreAPIKeyCloakSecret | The OpenID secret for the TRE API Keycloak client |
Built-in KeyCloak Configuration
This section contains the environment variables that are used to configure the built-in Keycloak server.
| Environment Variable | Description |
|---|---|
KeycloakBootstrapAdminPassword | The bootstrap admin password for the Keycloak server used by the TRE Agent. This is used to bootstrap the Keycloak server with the admin user. |
KeycloakStartupCommand | The command to start the Keycloak server. In dev mode (or Demostack), this is |
KeycloakFullURL | The full hostname URL of the Keycloak server, for example, |