OptionalbucketDefault bucket used when STORAGE_S3_BUCKET is not set.
OptionalclientAdditional AWS SDK S3Client config.
OptionalcreateOptional client factory for tests or custom S3 clients.
Clients returned here are caller-owned: the provider stop hook does not
destroy them, so close them yourself when your app shuts down.
OptionalcredentialsStatic credentials used when creating the default S3Client.
OptionalendpointS3-compatible endpoint. Required for R2, MinIO, Spaces, B2, and most non-AWS object stores.
OptionalforceUse path-style bucket addressing when required by the object store.
OptionalkeyPrefix all object keys before sending them to S3.
OptionalmaxMaximum request attempts, including the first attempt, used when creating the default S3Client. Retries are handled by the AWS SDK.
OptionalnameProvider name. Defaults to "storage-s3".
OptionalpublicBase URL used by publicUrl(...) for public objects.
OptionalregionRegion used when creating the default S3Client.
OptionalretryAWS SDK retry mode used when creating the default S3Client. "adaptive"
adds client-side rate limiting on top of "standard" retries.
Options for creating an env-backed S3-compatible storage provider.