Beignet API reference
    Preparing search index...

    Function createS3StorageProvider

    • 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.

      Parameters

      Returns S3StorageProvider