Skip to content
env-sync-viewer
Menu

Feature

Fail-closed credential scoping

Each env-sync child gets an explicit environment: the base floor plus only the credentials of the platforms in its scope.

A platform rule lists the exact variable names a platform may receive. Everything not in the base floor or in a rule for the child’s scope is withheld, including the collector’s own DATABASE_URL.

Each child also gets a fresh empty HOME and ENV_SYNC_ALLOWED_PLATFORMS, so env-sync itself refuses any target outside the scope before it reads a credential.

This is credential scoping, not process isolation: a child running as the same user could still read the collector’s environment from the operating system. The collector is meant for a dedicated CI environment for that reason.