chore: configure internal api auth
This commit is contained in:
@@ -151,21 +151,21 @@
|
||||
}
|
||||
},
|
||||
"internal_api": {
|
||||
"enabled": $INTERNAL_API_ENABLED,
|
||||
"time_window_seconds": $INTERNAL_API_TIME_WINDOW_SECONDS,
|
||||
"enabled": true,
|
||||
"time_window_seconds": 300,
|
||||
"services": {
|
||||
"$INTERNAL_API_HOTGO_SERVICE_NAME": {
|
||||
"secret": "$INTERNAL_API_HOTGO_SECRET",
|
||||
"hotgo-admin": {
|
||||
"secret": "8569f5626a54950539eece9f731c9e3bf073daa74af8d23735d19afacac40f4b",
|
||||
"allow": ["admin_query"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin_internal_api": {
|
||||
"enabled": $ADMIN_INTERNAL_API_ENABLED,
|
||||
"base_url": "$ADMIN_INTERNAL_API_BASE_URL",
|
||||
"service_name": "$ADMIN_INTERNAL_API_SERVICE_NAME",
|
||||
"secret": "$ADMIN_INTERNAL_API_SECRET",
|
||||
"timeout_ms": $ADMIN_INTERNAL_API_TIMEOUT_MS
|
||||
"enabled": true,
|
||||
"base_url": "http://127.0.0.1:8000",
|
||||
"service_name": "im-server",
|
||||
"secret": "b96832c04dbfb6dd768930ec9f082ecd90d87a1ffdaa493aa070617c48de9097",
|
||||
"timeout_ms": 3000
|
||||
},
|
||||
|
||||
"acc_validation": {
|
||||
|
||||
Reference in New Issue
Block a user