Skip to content

feat(rest): Add support for AWS SigV4 signing#2311

Open
rchowell wants to merge 1 commit intoapache:mainfrom
rchowell:sigv4
Open

feat(rest): Add support for AWS SigV4 signing#2311
rchowell wants to merge 1 commit intoapache:mainfrom
rchowell:sigv4

Conversation

@rchowell
Copy link
Copy Markdown

@rchowell rchowell commented Apr 2, 2026

Which issue does this PR close?

What changes are included in this PR?

  • Creates a new signing mod inside the rest mod.
  • Adds a HttpRequestSigner trait for signing headers.
  • Adds an AWS SigV4 implementation with patched URL handling

Are these changes tested?

  • New unit tests for URL encoding
  • Manual verification against S3 Tables Iceberg REST endpoint.

Additional Context

There are several PRs in this space, and I did my best to consolidate them all into this.

(1) #917

This is the first and @phillipleblanc suggested an implementation without the aws crates.

(2) #1241

This is the reqwest approach, but @xxchan found a bug in url encoding. It uses reqsign-aws-v4.

(3) #2088

This is a nice approach for more general auth, and it may be best to have a discussion on the design so that a large PR like this is reviewable. This new PR is intentionally smaller in scope to hopefully close at #1236.

(4) mdub@4400539

Credit to @mdub here which was the latest reference on the issue. It's a reqwest-based approach. I've adapted this based on the discussions in (1) and (2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST catalog: support AWS sigV4

1 participant