Support presigned multipart uploads

Open
#778 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@kylebarron is already working on this.

Since Nov 24, 2026.

  • #829 by @kylebarron — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
67/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python, rust

Research direction

Start at the obstore.sign API and trace its presigning path, then review the object_store 0.14.2 support for signed query parameters and signed headers. Done means callers can provide uploadId and partNumber so each multipart-part URL includes those query parameters in its signature, with coverage for distinct part numbers.

Written by the indexing model from the issue text.

Description

obstore.sign can presign a method and a path, but not extra query parameters. This blocks support for presigned multipart uploads, where a server initiates the upload and hands the browser a presigned URL for each part. The UploadPart request needs uploadId and partNumber in the query string, and they have to be part of the signature.

With boto3, this looks like:

upload_id = s3.create_multipart_upload(Bucket="my-bucket", Key="big.bin")["UploadId"]

part_urls = [
    s3.generate_presigned_url(
        "upload_part",
        Params={
            "Bucket": "my-bucket",
            "Key": "big.bin",
            "UploadId": upload_id,
            "PartNumber": part_number,
        },
        ExpiresIn=3600,
    )
    for part_number in (1, 2, 3)
]

This produces output like:

https://my-bucket.s3.amazonaws.com/big.bin?uploadId=2~ExampleUploadId&partNumber=1&X-Amz-...&X-Amz-Signature=0f04426e...
https://my-bucket.s3.amazonaws.com/big.bin?uploadId=2~ExampleUploadId&partNumber=2&X-Amz-...&X-Amz-Signature=de64e5f5...
https://my-bucket.s3.amazonaws.com/big.bin?uploadId=2~ExampleUploadId&partNumber=3&X-Amz-...&X-Amz-Signature=6c306d51...

Each part gets its own URL, with the same path but a different partNumber.

Note, upstream support for this recently was released by object_store 0.14.2 via apache/arrow-rs-object-store#771, which added signed query parameters and signed headers to presigning.

Dominant language
Python
Stars
842
Forks
50
Avg merge
9h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/obstore

All issues in developmentseed/obstore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.