Now, after checking the auth info from settings.xml, the provider chain will then check for credentials in 2 new ways before trying the IAM instance profile:
use the source repository id to look up a specific AWS profile from ~/.aws/credentials (created using the cli command aws configure).
look for a profile in the same manner as above, using the value of the AWS_PROFILE environment variable if it is set, or otherwise look for a profile named default.
I upgraded the AWS SDK dependencies to the latest version (1.9.16) in order enable this support
Now, after checking the auth info from settings.xml, the provider chain will then check for credentials in 2 new ways before trying the IAM instance profile:
aws configure
).AWS_PROFILE
environment variable if it is set, or otherwise look for a profile nameddefault
.I upgraded the AWS SDK dependencies to the latest version (1.9.16) in order enable this support