Add profile support to s3 credentials
iesahin opened this issue · comments
When all credentials in s3::credentials::Credentials::new
is left out, it means default
profile. I think we can check this at the CLI level.
- If no
AWS_...
environment keys are present, and noprofile
is set in the options, we usedefault
profile. - If no
AWS_...
environment keys are present butprofile
is set in options, we use that profile. - If
AWS_...
environment keys are present butprofile
is set, we use profile. - If no profile is set, and
AWS_...
keys are present, we use that.
This should be similar to aws
cli behavior.