Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Support ~/.aws/credentials authentication #28

Open
xentek opened this issue Sep 12, 2014 · 5 comments
Open

Support ~/.aws/credentials authentication #28

xentek opened this issue Sep 12, 2014 · 5 comments

Comments

@xentek
Copy link

xentek commented Sep 12, 2014

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.

@mjallday
Copy link

👍 on this one.

@wrasdf
Copy link

wrasdf commented Jul 21, 2016

👍

1 similar comment
@zdmytriv
Copy link

👍

@mjallday
Copy link

mjallday commented Apr 1, 2017

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

@moleksyuk
Copy link

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>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants