[ https://issues.apache.org/jira/browse/ARROW-14342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613235#comment-17613235 ]
Will Jones commented on ARROW-14342: ------------------------------------ SSO support was added in aws-sdk-cpp 1.9. Once we upgrade that dependency we should automatically get support for this. https://github.com/aws/aws-sdk-cpp/issues/1433#issuecomment-1079267499 > 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: 3.0.0, 5.0.0 > Reporter: Björn Boschman > Priority: Major > > Not sure about other languages > 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.20.10#820010)