lein-essthree
lein-essthree copied to clipboard
Repository config doesn't work with credentials stored in ~/.aws/credentials
Given credentials stored in ~/.aws/credentials (validated by cli access), I'm getting
Could not transfer artifact...(snip)...: Unable to load AWS credentials from any provider in the chain
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
When I try an pull an artifact from s3 via a repository configuration. I think this is the underlying wagon not using the credentials.
In https://github.com/dparis/lein-essthree/blob/develop/src/lein_essthree/repository.clj
If I read it correctly, the credentials are provided to the wagon via:
(merge repo-data
{:username username
:password password})
So this wagon requires these two parameters specified in this manner? I don't know how we can make it work with local credentials if this is the case, without changing the wagon itself