@backblaze-labs/b2-sdk - v0.2.0
    Preparing search index...

    Module s3

    S3-compatible helpers for using B2 with the AWS SDK and S3 clients.

    Provides createS3ClientConfig to derive endpoint, region, and credentials from B2 authorization state, plus presignS3GetObjectUrl and presignS3PutObjectUrl for generating AWS Signature Version 4 presigned URLs against B2's S3-compatible API.

    Interfaces

    B2S3Config
    PresignS3GetObjectUrlOptions
    PresignS3PutObjectUrlOptions
    S3ClientConfig
    S3PresignObjectUrlOptions
    TrustedUnsafeS3PresignOptIn

    Type Aliases

    PresignPutObjectUrlOptions

    Variables

    trustedUnsafeS3PresignOptIn

    Functions

    createNativeDownloadAuthorizationUrl
    createS3ClientConfig
    deriveS3RegionFromEndpoint
    presignGetObjectUrl
    presignPutObjectUrl
    presignS3GetObjectUrl
    presignS3PutObjectUrl