rclone/backend/s3
Erik Swanson fa0a1e7261 s3: fix role_arn, credential_source, ...
When the env_auth option is enabled, the AWS SDK's session constructor
now loads configuration from ~/.aws/config and environment variables,
and credentials per the selected (or default) AWS_PROFILE's settings.

This is accomplished by **NOT** including any Credential provider in the
aws.Config passed to the session constructor: If the Config.Credentials
is non-nil, that will always be used and the user's configuration re
role_arn, credential_source, source_profile, etc... from the shared
config will be completely ignored.

(The conditional creation and configuration of the stscreds Credential
provider is complicated enough that it is not worth re-creating that
logic.)
2018-11-08 12:58:23 +00:00
..
s3_test.go backend: add fstests.ChunkedUploadConfig 2018-10-11 14:47:58 +01:00
s3.go s3: fix role_arn, credential_source, ... 2018-11-08 12:58:23 +00:00
v2sign.go s3: fix v2 signer on files with spaces - fixes #2438 2018-10-14 00:10:29 +01:00