[
https://issues.apache.org/jira/browse/ARROW-9517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160218#comment-17160218
]
Antoine Pitrou commented on ARROW-9517:
---------------------------------------
This sounds reasonable to me. {{S3Options}} would probably be the appropriate
place to add a new member. Do you want to submit a PR?
> Allow session_token argument when initializing S3FileSystem
> -----------------------------------------------------------
>
> Key: ARROW-9517
> URL: https://issues.apache.org/jira/browse/ARROW-9517
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Python
> Affects Versions: 0.17.1
> Reporter: Matthew Corley
> Priority: Major
> Labels: AWS, s3
>
> In order to access S3 using temporary credentials (from STS), users must
> supply a session token in addition to the usual access key and secret key.
> However, currently, the S3FileSystem class only accepts access_key and
> secret_key arguments. The only workaround is to provide the session token as
> an environment variable, but this not ideal for a variety of reasons.
> This is a request to allow an optional session_token argument when
> initializing the S3FileSystem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)