Delete the global GC_ACCESS_APP_SHARED_SECRET fallback (R6, fork 2)
Per-app identity with a global fallback made repixelizer and streampixels one identity in practice. Each app now needs its own GC_ACCESS_APP_<SLUG>_SHARED_SECRET; operator mints distinct values on Yggdrasil in the same deploy window. Doc note in service-contract.md corrected to stop advertising the fallback.
This commit is contained in:
parent
c6d0ecb68b
commit
326f613ffe
3 changed files with 30 additions and 4 deletions
|
|
@ -212,7 +212,7 @@ export function loadConfig(
|
|||
appSlugs
|
||||
.map((appSlug) => {
|
||||
const envKey = `GC_ACCESS_APP_${appSlug.toUpperCase()}_SHARED_SECRET`;
|
||||
return [appSlug, env[envKey] ?? env.GC_ACCESS_APP_SHARED_SECRET];
|
||||
return [appSlug, env[envKey]];
|
||||
})
|
||||
.filter(([, value]) => Boolean(value))
|
||||
) as Partial<Record<AppSlug, string>>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue