spring-attic / aws-maven

Apache License 2.0
214 stars 174 forks source link

Plugin does not work with codebuild ec2 container service iam metadata #65

Open jeugene opened 6 years ago

jeugene commented 6 years ago

Plugin does not work with ec2 container service that exposes AWS_CONTAINER_CREDENTIALS_RELATIVE_URI instead of metadata

Credentials delivered through the Amazon EC2 container service if AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" environment variable is set and security manager has permission to access the variable

4 https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html