Skip to main content

USP Client Environment Variables

The following table lists all primary configuration options available for the USP Client component. Each option can be set either as an HCL argument in the configuration file or overridden by an environment variable at runtime.

While environment variables take precedence over HCL arguments when both are provided, it is generally recommended to configure settings using HCL files to maintain clarity, consistency, and ease of management. Overriding with environment variables should be used sparingly, typically for temporary adjustments or in containerized deployment scenarios.

Environment variables are loaded from from /opt/udmg/etc/usp-client.env via the systemd unit.

HCL Argument NameEnvironment Variable Name
nameUSP_CLIENT_NAME
keyUSP_CLIENT_KEY
tunnel.hostUSP_CLIENT_TUNNEL_HOST
tunnel.portUSP_CLIENT_TUNNEL_PORT
tunnel.host_keyUSP_CLIENT_TUNNEL_HOST_KEY
log.levelUSP_CLIENT_LOG_LEVEL
log.pathUSP_CLIENT_LOG_PATH
log.max_sizeUSP_CLIENT_LOG_MAX_SIZE
log.max_backupsUSP_CLIENT_LOG_MAX_BACKUPS
log.max_ageUSP_CLIENT_LOG_MAX_AGE