You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2022/10/05 21:48:00 UTC

[jira] [Updated] (ARROW-14342) [Python] Add support for the SSO credential provider

     [ https://issues.apache.org/jira/browse/ARROW-14342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Jones updated ARROW-14342:
-------------------------------
    Summary: [Python] Add support for the SSO credential provider  (was: Add support for the SSO credential provider)

> [Python] 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
>             Fix For: 11.0.0
>
>
> 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)