Currently the S3 session is initialized via session.NewSession(awsConfig) which expects static credentials by default and does not seem to support standard AWS_* env vars.
I can submit a PR that will use session.NewSession without args and let AWS figure out how to do auth if provided storage url does not contain key/secret pairs. I have it working in a local fork, but wanted to see if you're interested in this kind of a change.
Currently the S3 session is initialized via
session.NewSession(awsConfig)
which expects static credentials by default and does not seem to support standard AWS_* env vars.I can submit a PR that will use
session.NewSession
without args and let AWS figure out how to do auth if provided storage url does not contain key/secret pairs. I have it working in a local fork, but wanted to see if you're interested in this kind of a change.