Skip to content

feat: support credentials vending for file reader and session#5256

Merged
jackye1995 merged 11 commits intolance-format:mainfrom
jackye1995:file-reader-vending
Nov 19, 2025
Merged

feat: support credentials vending for file reader and session#5256
jackye1995 merged 11 commits intolance-format:mainfrom
jackye1995:file-reader-vending

Conversation

@jackye1995
Copy link
Copy Markdown
Contributor

@jackye1995 jackye1995 commented Nov 17, 2025

Allow user to directly create a LanceFileReader or LanceFileSession with storage options provider to refresh vended credentials.

We also add a few methods in LanceFileSession for generic object store usage, these are more as workarounds because there is no practical solutions today for an IO library with pluggable credentials provider. The long term plan is to use OpenDAL for related workloads.

@github-actions github-actions Bot added enhancement New feature or request python labels Nov 17, 2025
}
}

log::debug!(
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add some additional logging since customers could plugin custom logic here and might be hard to debug

Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved as a workaround, we'll finally remove them.

@jackye1995
Copy link
Copy Markdown
Contributor Author

Failing CI fixed in newer PRs, merging

@jackye1995 jackye1995 merged commit b7c8393 into lance-format:main Nov 19, 2025
24 of 27 checks passed
jackye1995 added a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
…format#5256)

Allow user to directly create a LanceFileReader or LanceFileSession with
storage options provider to refresh vended credentials.

We also add a few methods in LanceFileSession for generic object store
usage, these are more as workarounds because there is no practical
solutions today for an IO library with pluggable credentials provider.
The long term plan is to use OpenDAL for related workloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants