- 29 Oct 2024
-
DarkLight
-
PDF
Server Variables
- Updated on 29 Oct 2024
-
DarkLight
-
PDF
GATEWAY_SERVER_API_KEY_EXPIRATION
The amount of time (in minutes) before a user API key expires.
Environment Variable
GATEWAY_SERVER_API_KEY_EXPIRATION
File
Section: server
Key: api_key_expiration
Default
1440
GATEWAY_SERVER_CERTIFICATE_FILE
The full path to the certificate file the gateway server will use when serving connections to gateway clients when GATEWAY_SERVER_USE_TLS
is enabled.
Environment Variable
GATEWAY_SERVER_CERTIFICATE_FILE
File
Section: server
Key: certificate_file
Default
No default value provided
GATEWAY_SERVER_CLIENT_CERT_AUTH
If set to true
, a gateway server will require requests sent from a gateway client to use "Client-to-Server Authentication" where mutual TLS authentication will be used.
Mutual TLS ensures that a client and server mutually trust the signing CA when communicating.
Environment Variable
GATEWAY_SERVER_CLIENT_CERT_AUTH
File
Section: server
Key: client_certif_auth
Default
false
GATEWAY_SERVER_DISTRIBUTED_EXECUTION
Determines if a server node is an "all in one" deployment where services are run on the same node as the actual server itself. If deploying a gateway architecture where you have separate runner nodes to execute services, set this variable to true
.
Environment Variable
GATEWAY_SERVER_DISTRIBUTED_EXECUTION
File
Section: server
Key: distributed_execution
Default
false
GATEWAY_SERVER_LISTEN_ADDRESS
The address that a gateway server will listen from.
Environment Variable
GATEWAY_SERVER_LISTEN_ADDRESS
File
Section: server
Key: listen_address
Default
127.0.0.1
GATEWAY_SERVER_PORT
The port that a gateway server will listen from.
Environment Variable
GATEWAY_SERVER_PORT
File
Section: server
Key: port
Default
50051
GATEWAY_SERVER_PRIVATE_KEY_FILE
The full path to the private key file the gateway server will use when
serving connections to gateway clients. Required when GATEWAY_SERVER_USE_TLS
is enabled.
Environment Variable
GATEWAY_SERVER_PRIVATE_KEY_FILE
File
Section: server
Key: private_key_file
Default
No default value provided
GATEWAY_SERVER_USE_TLS
Whether or not a gateway server will require TLS when serving connections to
gateway clients.
Environment Variable
GATEWAY_SERVER_USE_TLS
File
Section: server
Key: use_tls
Default
true