Björn Boschman created ARROW-14342:
--------------------------------------
Summary: Add support for the SSO credential provider
Key: ARROW-14342
URL: https://issues.apache.org/jira/browse/ARROW-14342
Project: Apache Arrow
Issue Type: Improvement
Components: Python
Affects Versions: 5.0.0, 3.0.0
Reporter: Björn Boschman
see also: [https://github.com/boto/botocore/pull/2070]
{code:java}
from pyarrow.fs import S3FileSystem
bucket = 'some-bucket-with-read-access'
key = 'some-existing-key'
s3 = S3FileSystem()
s3.open_input_file(f'{bucket}/{key}'){code}
results in
{code:java}
Traceback (most recent call last):
File "test.py", line 7, in <module>
s3.open_input_file(f'{bucket}/{key}')
File "pyarrow/_fs.pyx", line 587, in pyarrow._fs.FileSystem.open_input_file
File "pyarrow/error.pxi", line 143, in
pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 114, in pyarrow.lib.check_status
OSError: When reading information for key 'some-existing-key' in bucket
'some-bucket-with-read-access': AWS Error [code 15]: No response body.
{code}
without sso creds supported - shouldn't it raise some kind of AccessDenied
Exception?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)