Edgegap Integration KitBeta
v2.0
Key Security

Environment Variables

Runtime env vars supported by EGIK for tokens, URLs, and match context

Priority Rule

Runtime environment variables are preferred over config values when supported.

Supported Variables

VariableUsed ByPurpose
EDGEGAP_API_KEYCore deployment APIsAuthorization key override
EDGEGAP_SB_URLServer BrowserServer Browser base URL
EDGEGAP_SB_SERVER_TOKENServer Browser server callsServer token override
EDGEGAP_SB_CLIENT_TOKENServer Browser client callsClient token override
EDGEGAP_MM_URLMatchmaking / Group Up / BackfillMatchmaker base URL
EDGEGAP_MM_AUTH_TOKENMatchmaking / Group Up / BackfillMatchmaker token override
EDGEGAP_MATCHMAKER_AUTH_TOKENMatchmaking fallbackAlternate matchmaker token name
MM_GROUP_MAPPINGServer runtime helpersGroup to player mapping JSON
MM_EXPANSION_STAGEServer runtime helpersExpansion stage
MM_MATCH_PROFILEServer runtime helpersActive match profile
ARBITRIUM_REQUEST_IDServer shutdown subsystemCurrent deployment request id
ARBITRIUM_DELETE_URLServer shutdown subsystemSelf-stop endpoint
ARBITRIUM_DELETE_TOKENServer shutdown subsystemSelf-stop auth token

Unreal C++ Read Example

#include "EGIKBlueprintFunctionLibrary.h"

FString Value;
UEGIKBlueprintFunctionLibrary::GetEnvironmentVariable(TEXT("EDGEGAP_MM_URL"), Value);
UE_LOG(LogTemp, Log, TEXT("EDGEGAP_MM_URL=%s"), *Value);

On this page