Environment variables
|
Environment variable |
Value (example) |
Description |
|
Required variablesThe ServerUrl variables are going to be the URLs you have chosen for the NoPass™ server URL and the Keycloak server (SSO) URL. |
||
| MAPD_ServerURL | <https://nopass.example.com/> | URL of the NoPass™ server |
|
MAPD_DatabaseSettings__DbConnectionType |
MySQL |
Type of database. You can use MySQL, Postgre or MsSql |
|
MAPD_DatabaseSettings__Server
|
12.123.13.321 1433 nopassDB nopassDatabaseUser nopassUserPassword |
These settings are used to connect NoPass™ to your database server, allowing the NoPass™ application to create the required tables and store data. |
|
|
||
| KEYC_ServerUrl | <https://keycloak.example.com/> | URL for Keycloak |
|
KEYC_DB_VENDOR KEYC_DB_ADDR KEYC_DB_PORT KEYC_DB_DATABASE KEYC_DB_USER KEYC_DB_PASSWORD |
MSSQL 12.123.13.321 1433 keycloakDB nopassUser SQLadmin01 |
These settings are used to connect NoPass™ to your database server, allowing the NoPass™ application to create the required tables and store data. |
| KEYC_KEYCLOAK_USER | ||
| KEYC_KEYCLOAK_PASSWORD | adminkeycloakserver | Keycloak admin password |
| KEYC_PROXY_ADDRESS_FORWARDING | “true” | Allow Keycloak to pull the client’s IP address from the X-Forwarded-For header |
|
Optional global variablesThese settings are used to send emails from an existing mail server. The emails sent are generally used for user registration and notifications. |
||
| MAPD_EmailSettings__Host | smtp.gmail.com | URL of an SMTP server |
| MAPD_EmailSettings__Port | 587 | SMTP port |
| MAPD_EmailSettings__EnableSSL | true | enable or disable SSL |
| MAPD_EmailSettings__EmailFrom | client.support@gmail.com | mail sender |
| MAPD_EmailSettings__UserName | login@gmail.com | login for mailbox |
| MAPD_EmailSettings__Password | pa$$w0rd | password for mailbox |
| MAPD_EmailSettings__Email | admin.nopass@gmail.com | recipient address |
| MAPD_EmailSettings__CC | sysadmins@gmail.com | copy address |
| MAPD_EmailSettings__Subject | Report issue | email subject |
|
Optional variables for RADIUSSettings used to set the admin credentials for RADIUS. |
||
| MAPD_RADIUSProxySettings__AdminId | RADIUSadmin | Default login for RADIUS administrator. |
| MAPD_RADIUSProxySettings__AdminPwd | RADIUSpassword | Default password for RADIUS administrator. |
|
Optional variables for debuggingSettings that will allow for more server logs to be generated. |
||
| MAPD_DebugSettings__ShowDocumentation | false | Enable swagger for developers. |
| MAPD_DebugSettings__ExpandErrorsToClient | false | Show expand errors for developers |
| MAPD_DebugSettings__IsAllowDeleteFromDB | false | |
next topic: Prerequisites
previous topic: NoPass™ server installation Linux Ubuntu