Manage secrets¶
Repster separates secrets from your pipeline code: .env locally, the encrypted Repster Cloud vault for cloud runs.
Local development¶
For local runs, Repster reads secrets from a .env file at the root of your project. Use dlt's env-var naming convention:
Never commit .env; add it to .gitignore.
Pushing secrets to cloud¶
Reads all key-value pairs from .env and stores them in the vault, encrypted at rest. At run time they're injected into the worker as environment variables, never written to logs or run records (see How Repster works).
To target a specific profile:
Viewing stored secrets (key names only)¶
The vault returns key names only; values are never retrievable after being stored.
Rotating a secret¶
Push the updated value; Repster overwrites the existing entry:
Removing a secret¶
Prompts for confirmation (pass --yes to skip). Secrets can also be deleted in the Repster Cloud UI (repster.online).
CI / non-interactive environments¶
For CI pipelines, skip the interactive login flow by passing a token directly:
Or configure it in pyproject.toml:
And add the profile to ~/.repster/config.toml on the CI machine.