aws-maven
aws-maven copied to clipboard
Support ~/.aws/credentials authentication
The aws-sdk and aws-cli can both use ~/.aws/credentials
as the source for the access and secret keys. Indeed, the aws-sdk uses this as one of the methods in the DefaultAWSCredentialsProviderChain
. The benefit of this method is that you aren't forced to pollute your global ENV vars with access keys (especially when you have more than one set).
Thanks for considering making this change! Keep up the good work.
:+1: on this one.
👍
👍
We're maintaining a custom branch that will resolve this.
https://github.com/verygoodsecurity/aws-maven
<pluginRepositories>
<pluginRepository>
<id>bintray-vgs</id>
<name>bintray-vgs</name>
<url>https://dl.bintray.com/vg/vgs-misc</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
and
<extension>
<groupId>io.vgs.tools</groupId>
<artifactId>aws-maven</artifactId>
<version>1.4.3</version>
</extension>
Will give you the default provider chain
Try our fork. It supports aws cli credentials.
<dependency>
<groupId>com.github.platform-team</groupId>
<artifactId>aws-maven</artifactId>
<version>6.0.0</version>
</dependency>