You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes explicit credentials to be ignored if any of the other types of credentials are found first. In my case, credentials are being picked up from the instance profile, which are not the ones I want to use. This should be a common case when connecting with an S3 repository in another AWS account, for example.
Despite the name of the class, the current order of priority in the chain defined in
AuthenticationInfoAWSCredentialsProviderChainputs theAuthenticationInfoAWSCredentialsProviderlast in the chain: https://github.com/spring-projects/aws-maven/blob/ce6a4ffbd8a59029ebe147124ac2d7ff1a7afd18/src/main/java/org/springframework/build/aws/maven/AuthenticationInfoAWSCredentialsProviderChain.java#L31This causes explicit credentials to be ignored if any of the other types of credentials are found first. In my case, credentials are being picked up from the instance profile, which are not the ones I want to use. This should be a common case when connecting with an S3 repository in another AWS account, for example.