diff --git a/backend/coreconfig/coreconfig.go b/backend/coreconfig/coreconfig.go
index e85e8d5..67ff1cd 100644
--- a/backend/coreconfig/coreconfig.go
+++ b/backend/coreconfig/coreconfig.go
@@ -126,7 +126,7 @@ func normalizeInfo(info Info) Info {
// Handler is the X-Internal-Auth-gated PUT /api/core-services/internal endpoint
// ProjectConfigurator calls to push a fresh Info: mount it at that path (see
// ProjectConfigurator/README.md) behind a secret check for this service's own
-// INTERNAL_SERVICE_SECRET (the same value ProjectConfigurator and CarrierNode were configured
+// SECRET (the same value ProjectConfigurator and CarrierNode were configured
// with - an empty secret refuses every caller, the same fail-closed default ProjectConfigurator's
// own internal-auth-gated routes use).
func Handler(secret string, store *Store) http.HandlerFunc {
diff --git a/packages/node-backend/README.md b/packages/node-backend/README.md
index 9411a61..5fc10ba 100644
--- a/packages/node-backend/README.md
+++ b/packages/node-backend/README.md
@@ -44,7 +44,7 @@ coreConfig.onUpdate((info) => authClient.setBaseUrl(info.authGuardUrl));
// in your own route for PUT /api/core-services/internal:
app.put('/api/core-services/internal', (req, res) => {
- if (req.get('X-Internal-Auth') !== process.env.INTERNAL_SERVICE_SECRET) {
+ if (req.get('X-Internal-Auth') !== process.env.SECRET) {
return res.status(401).json({ error: 'internal service authentication required' });
}
const info = coreConfig.set(req.body);
diff --git a/packages/node-backend/src/coreconfig.js b/packages/node-backend/src/coreconfig.js
index 1a8cb00..32ff499 100644
--- a/packages/node-backend/src/coreconfig.js
+++ b/packages/node-backend/src/coreconfig.js
@@ -12,7 +12,7 @@
* Framework-agnostic: this module has no HTTP server of its own. A service
* wires the actual `PUT /api/core-services/internal` route in its own
* framework (Express, plain `http`, ...), gated behind its own
- * INTERNAL_SERVICE_SECRET check the same way its other internal-service
+ * SECRET check the same way its other internal-service
* routes already are, decodes the JSON body with `Info.fromJSON`, and calls
* `store.set(info)` - see `Store.set`'s doc comment for a minimal Express
* example.
@@ -118,7 +118,7 @@ export class Store {
* the other value. Returns the resulting Info. Minimal Express usage:
*
* app.put('/api/core-services/internal', (req, res) => {
- * if (req.get('X-Internal-Auth') !== process.env.INTERNAL_SERVICE_SECRET) {
+ * if (req.get('X-Internal-Auth') !== process.env.SECRET) {
* return res.status(401).json({ error: 'internal service authentication required' });
* }
* const info = coreConfigStore.set(Info.fromJSON(req.body));
diff --git a/packages/python-backend/README.md b/packages/python-backend/README.md
index 7aebf24..824c8dd 100644
--- a/packages/python-backend/README.md
+++ b/packages/python-backend/README.md
@@ -97,7 +97,7 @@ core_config.on_update(lambda info: auth_client.set_base_url(info.auth_guard_url)
# in your framework's route for PUT /api/core-services/internal:
async def push_core_services(request):
- if request.headers.get("X-Internal-Auth") != INTERNAL_SERVICE_SECRET:
+ if request.headers.get("X-Internal-Auth") != SECRET:
raise HTTPException(status_code=401)
body = await request.json()
info = core_config.set(CoreConfigInfo.from_json(body))
diff --git a/packages/python-backend/src/shared_backend/coreconfig.py b/packages/python-backend/src/shared_backend/coreconfig.py
index fb95c69..dc95981 100644
--- a/packages/python-backend/src/shared_backend/coreconfig.py
+++ b/packages/python-backend/src/shared_backend/coreconfig.py
@@ -11,7 +11,7 @@ Framework-agnostic, like the rest of this package (see the top-level
README's "HTTP framework adapters stay in each service" note): this module
has no HTTP server of its own. A service wires the actual
PUT /api/core-services/internal route in its own framework (FastAPI,
-aiohttp, ...), gated behind its own INTERNAL_SERVICE_SECRET check the same
+aiohttp, ...), gated behind its own SECRET check the same
way its other internal-service routes already are, decodes the JSON body
into an `Info`, and calls `Store.set(info)` -- see `Store.set`'s doc comment
for a minimal FastAPI example.
@@ -108,7 +108,7 @@ class Store:
@app.put("/api/core-services/internal")
async def push_core_services(request: Request):
- if request.headers.get("X-Internal-Auth") != INTERNAL_SERVICE_SECRET:
+ if request.headers.get("X-Internal-Auth") != SECRET:
raise HTTPException(status_code=401)
body = await request.json()
info = core_config_store.set(Info.from_json(body))
diff --git a/packages/web-ui/src/lib/components/AppShell.svelte b/packages/web-ui/src/lib/components/AppShell.svelte
index 3770f35..dec5990 100644
--- a/packages/web-ui/src/lib/components/AppShell.svelte
+++ b/packages/web-ui/src/lib/components/AppShell.svelte
@@ -1,9 +1,11 @@