ReadonlyaccountThe authorized AccountInfo containing the S3 endpoint URL.
ReadonlyapplicationB2 application key (secret). Used as the S3 secretAccessKey.
ReadonlyapplicationB2 application key ID. Used as the S3 accessKeyId.
ReadonlybucketBucket containing the object.
Optional ReadonlyexpiresURL validity duration in seconds. Defaults to 3600. Must be an integer from 1 to 604800 (7 days), the AWS Signature Version 4 presign maximum. A presigned URL is a bearer credential for the signed operation; keep this as short as the calling workflow allows.
ReadonlyfileObject key / B2 file name to sign. Keys with path segments exactly .
or .. cannot be presigned safely because common URL parsers normalize
them before sending the request.
Optional ReadonlyregionOverride the S3 region. If omitted, extracted from the S3 API URL.
Common options for S3-compatible presigned object URLs.