Platforms
One environment variable per host.
Set ENVLET_TOKEN where the platform keeps secrets. Everything else arrives when the process starts, and rotates in one place.
PlatformKeep the one secretThen
Vercelvercel env add ENVLET_TOKEN productionInject at bootCloudflare Workerswrangler secret put ENVLET_TOKENLoad in the handlerAWSaws lambda update-function-configuration \
--function-name api \
--environment "Variables={ENVLET_TOKEN=envlet_...}"Inject on cold startGoogle Cloudgcloud run services update api \
--update-env-vars ENVLET_TOKEN=envlet_...Inject at bootFly.iofly secrets set ENVLET_TOKEN=envlet_...Start through the CLIRailwayrailway variables --set ENVLET_TOKEN=envlet_...Start commandNetlifynetlify env:set ENVLET_TOKEN envlet_... --context productionLoad in a functionGitHub Actionsgh secret set ENVLET_TOKEN < ~/.config/envlet/tokens/ci-staging.tokenWorkflow stepGitLab CIglab variable set ENVLET_TOKEN --masked --value "$(cat ~/.config/envlet/tokens/ci-staging.token)"Job scriptDockerdocker run -e ENVLET_TOKEN=envlet_... acme/apiDockerfile