Skip to content

Secrets & Environment Variables

FluxNow supports two types of configuration values: environment variables and secrets. Both are injected into your containers at deploy time.

Environment variablesSecrets
VisibilityVisible in the dashboardEncrypted at rest; not visible after saving
Use casesNon-sensitive config, feature flags, URLsAPI keys, tokens, database passwords
StoragePlaintextEncrypted via OpenBao

Both are managed in the project dashboard under Settings → Environment. You can add, edit, and delete individual values from there.

Values can be scoped to:

  • All environments — applies to staging and all preview environments
  • Staging only — applies only to the staging environment
  • Previews only — applies only to PR preview environments

Service connection strings are injected automatically by FluxNow:

  • DATABASE_URL — Postgres
  • REDIS_URL — Redis
  • S3_ENDPOINT, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_BUCKET — S3 storage

Do not add these manually — they will be overwritten by FluxNow’s injected values.

You can paste the contents of a .env file directly into the dashboard to bulk-import multiple values at once. Each line is parsed as KEY=VALUE. Values that match secret patterns are stored as secrets automatically.

All configured values are injected into your container as environment variables when the container starts. Changes take effect on the next deploy.