-
Notifications
You must be signed in to change notification settings - Fork 398
Closed
Description
Feature Request / Improvement
SigV4Adapter doesn't use any of the s3.* properties provided to the catalog when instantiating a boto3 session, instead it always falls back on boto's credential chain resolution logic
iceberg-python/pyiceberg/catalog/rest/__init__.py
Lines 389 to 396 in a67c559
| class SigV4Adapter(HTTPAdapter): | |
| def __init__(self, **properties: str): | |
| super().__init__() | |
| self._properties = properties | |
| def add_headers(self, request: PreparedRequest, **kwargs: Any) -> None: # pylint: disable=W0613 | |
| boto_session = boto3.Session() | |
| credentials = boto_session.get_credentials().get_frozen_credentials() |
Related to #2069,
CharlesAttend
Metadata
Metadata
Assignees
Labels
No labels