Skip to content

file-provider-s3-env

Registers an "s3-env" provider for file-foundation that reads one S3 credential set from process.env (S3_BUCKET/S3_REGION/S3_ACCESS_KEY/S3_SECRET_KEY, optional S3_ENDPOINT/S3_FORCE_PATH_STYLE) and serves every tenant from one shared bucket — no per-tenant config or secret seeding. Use this for single-bucket S3-compatible deploys (e.g. Hetzner Object Storage); use file-provider-s3 instead when each tenant needs its own bucket/credentials.

What this feature needs to run (Requires, top) and the write commands it provides (Provides, bottom).

flowchart TB
  n_file_provider_s3_env["file-provider-s3-env"]
  subgraph how_reqs["Requires"]
    n_file_foundation["file-foundation"]
  end
  n_file_foundation --> n_file_provider_s3_env
  • Registers extension: fileProviders3-env