Repository navigation
REST: Allow disabling remote signing with s3.remote-signing-enabled - #4134
Open
Ankitraj-builds wants to merge 2 commits into
Open
Ankitraj-builds wants to merge 2 commits into
Ankitraj-builds wants to merge 2 commits into
Conversation
Fokko
reviewed
Oct 22, 2026
rambleraptor
left a comment
Collaborator
There was a problem hiding this comment.
I've got a quick question.
17 tasks
Contributor
Author
|
Hi @Fokko , if everything looks good can we merge it? or do we need to update anything? |
rambleraptor
approved these changes
Nov 23, 2026
rambleraptor
left a comment
Collaborator
There was a problem hiding this comment.
I think this looks good now. Thanks for doing this!
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3888
Rationale for this change
REST catalogs like Lakekeeper return remote signing settings (
s3.signer,s3.signer.uri) in the table response config. Since #3956 the FileIO property order is table metadata < catalog config < server config < vended credentials, so the server's signer always wins. A client that already has its own S3 credentials cannot turn remote signing off, and every S3 request pays an extra round trip to the signer.This adds a catalog property,
s3.remote-signing-enabled. When the catalog config sets it tofalse,RestCatalog._load_file_io()removess3.signerfrom the merged FileIO properties, so remote signing is off even if the server config sets a signer. When it is not set ortrue, nothing changes. This coversTable,StagedTableand scan planning FileIOs.Based on review feedback, this replaces the first version, which used an empty
s3.signeras the opt-out.Are these changes tested?
Yes, in
tests/catalog/test_rest.py:test_load_table_remote_signing_disabled_in_catalog_config: the server returnss3.signer, the catalog setss3.remote-signing-enabled=false, and the table FileIO has nos3.signer. This test fails onmain.test_load_table_server_signer_kept_unless_disabled: with the property not set, or set totrue, the server signer is kept.All 177 tests in
tests/catalog/test_rest.pypass locally, and lint passes.Are there any user-facing changes?
Yes. New REST catalog property
s3.remote-signing-enabled(defaulttrue), documented inconfiguration.md. Nothing changes for users who do not set it.