[ https://issues.apache.org/jira/browse/ARROW-6362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916011#comment-16916011 ]
Francois Saint-Jacques commented on ARROW-6362: ----------------------------------------------- I think the exposed (high level) interface is either: - A static credentials - A default behavior that follows the [aws cli defaults](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html) this can be achieved with [DefaultAWSCredentialsProviderChain](http://sdk.amazonaws.com/cpp/api/LATEST/class_aws_1_1_auth_1_1_a_w_s_credentials_provider.html). In the code, it would translate to store the AWSCredentialsProviderChain in the Option struct. The end goal is that user don't need to change their existing credentials setup. {code:python} fs = s3fs(..., auth=None) # the default which resolves to DefaultChain fs = s3fs(..., auth=(None, None)) # AnonymousAWSCredentialsProvider fs = s3fs(..., auth=(access, secret)) # SimpleAWSCredentialsProvider {code} > [C++] S3: more flexible credential options > ------------------------------------------ > > Key: ARROW-6362 > URL: https://issues.apache.org/jira/browse/ARROW-6362 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Antoine Pitrou > Priority: Major > > We should perhaps allow passing an optional {{AWSCredentialsProvider}} to > {{S3FileSystem::Make}}, all the while keeping an option for a (access key, > secret key) pair. > http://sdk.amazonaws.com/cpp/api/LATEST/class_aws_1_1_auth_1_1_a_w_s_credentials_provider.html -- This message was sent by Atlassian Jira (v8.3.2#803003)