Create an env-backed S3-compatible storage provider.
Reads STORAGE_S3_* env vars, contributes ports.storage, and exposes
ports.s3Storage for raw client access and key-prefix helpers.
When the provider creates the AWS SDK client itself, its stop hook
destroys that client on server shutdown to release keep-alive sockets.
Clients injected through createClient are caller-owned and never
destroyed by the provider.
Create an env-backed S3-compatible storage provider.
Reads
STORAGE_S3_*env vars, contributesports.storage, and exposesports.s3Storagefor raw client access and key-prefix helpers.When the provider creates the AWS SDK client itself, its
stophook destroys that client on server shutdown to release keep-alive sockets. Clients injected throughcreateClientare caller-owned and never destroyed by the provider.