You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`src/initConfig.ts` - Configuration loading and validation
50
56
-`src/routes/` - Express routes for both modes
@@ -53,47 +59,56 @@ Enclaved BitGo Express is a secure cryptocurrency signing server with two operat
53
59
-`src/shared/` - Shared utilities and types
54
60
55
61
### Configuration
62
+
56
63
Configuration is managed through environment variables with defaults defined in `src/initConfig.ts`. The application requires specific environment variables depending on the mode:
57
64
58
65
#### Common Variables
59
-
-`APP_MODE` - Set to "enclaved" or "master-express"
66
+
67
+
-`APP_MODE` - Set to "secured" or "master-express"
60
68
-`TLS_MODE` - Set to "mtls" or "disabled"
61
69
-`BIND` - Address to bind to (default: localhost)
62
70
-`TIMEOUT` - Request timeout in milliseconds (default: 305000)
63
71
64
-
#### Enclaved Mode Specific
65
-
-`ENCLAVED_EXPRESS_PORT` - Port to listen on (default: 3080)
72
+
#### Secured Mode Specific
73
+
74
+
-`SECURED_EXPRESS_PORT` - Port to listen on (default: 3080)
66
75
-`KMS_URL` - Required KMS service URL
67
76
68
77
#### Master Express Mode Specific
78
+
69
79
-`MASTER_EXPRESS_PORT` - Port to listen on (default: 3081)
70
80
-`BITGO_ENV` - BitGo environment (default: test)
71
-
-`ENCLAVED_EXPRESS_URL` - Required URL for the Enclaved Express server
72
-
-`ENCLAVED_EXPRESS_CERT` - Required path to Enclaved Express certificate
81
+
-`SECURED_EXPRESS_URL` - Required URL for the Secured Express server
82
+
-`SECURED_EXPRESS_CERT` - Required path to Secured Express certificate
0 commit comments