[ https://issues.apache.org/jira/browse/ARROW-9517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160902#comment-17160902 ]
Matthew Corley commented on ARROW-9517: --------------------------------------- I took a quick pass at this change and [submitted a PR|https://github.com/apache/arrow/pull/7803]. > 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, pull-request-available, s3 > Time Spent: 10m > Remaining Estimate: 0h > > 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)