Fork me on GitHub
#leiningen
<
2016-08-15
>
donaldball19:08:03

Has anyone successfully used aws-vault with any of the plugins that allow lein to treat an s3 bucket as a maven repository?

timgilbert21:08:08

@donaldball: I've used a bunch of the maven-repo-on-s3 plugins with various degrees of frustration

timgilbert21:08:00

I recently switched from s3-private-wagon or whatever it's called to lein-essthree which I like a lot better

timgilbert21:08:55

I have not tried to integrate them with aws-vault, and after going around in circles for a while I'm back to using AWS_ACCESS_KEY_ID / AWS_SECRET_KEY environment variables to provide local access to AWS stuff

timgilbert21:08:25

There is an open lein-essthree issue about that, I believe, it's a bug somewhere deeper down the maven stack

timgilbert21:08:58

...but looking at the aws-vault docs, it seems as though it would be possible to export the keys it generates as env vars and then use those to access your s3 repo

donaldball22:08:22

Thanks, that’s the mode of integration I’m most interested in, in fact

danielcompton23:08:36

You need to export the AWS creds as env vars