Last modified on November 8, 2022
The StrongDM command line recognizes environment variables to control and modify its functionality. This document details the available environment variables and their function.
|SDM_ADMIN_TOKEN||An admin token or service account token to use for |
|SDM_EMAIL||If set, the specified email address is used automatically when using the |
|SDM_HOME||The location where |
|SDM_VERBOSE||If set, log verbosity is set to high for troubleshooting purposes.|
Variables for Gateways and Relays
The following variables are only for use with gateways and relays.
|SDM_MAINTENANCE_WINDOW_START||If set, schedules the hour of the day (0 to 23 UTC) when gateways and relays can terminate connections and restart (default: 7)|
|SDM_METRICS_LISTEN_ADDRESS||If set in the gateway or relay’s environment on port 9999, enables the gateway or relay to listen for metrics on the specified port|
|SDM_ORCHESTRATOR_PROBES||If set, enables the |
|SDM_RELAY_LOG_ENCRYPTION||Overrides relay log encryption settings configured in the Admin UI|
|SDM_RELAY_LOG_FORMAT||Overrides relay log format settings configured in the Admin UI|
|SDM_RELAY_LOG_STORAGE||Overrides relay log storage settings configured in the Admin UI|
|SDM_RELAY_TOKEN||A gateway or relay token to use when invoking the |
sdm-proxyfile, which is usually located at