dparis / lein-essthree

Leiningen plugin for easy S3 project deployment and dependency resolution
MIT License
22 stars 7 forks source link

Does not work with aws-vault / STS credentials #6

Open dball opened 8 years ago

dball commented 8 years ago

This project works fine with permanent credentials provided in env vars, but when I use aws-vault to supply temporary credentials generated by STS it fails:

~/src/banks[lein-essthree]$ aws-vault exec spark -- lein essthree com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 403, AWS Service: Amazon S3, AWS Request ID: 6CF10E37F11D0A02, AWS Error Code: InvalidAccessKeyId, AWS Error Message: The AWS Access Key Id you provided does not exist in our records.

Curious if you have any debugging tips.

dball commented 8 years ago

https://github.com/dparis/lein-essthree/pull/7 seems to fix it

timgilbert commented 7 years ago

Any update on this?

dball commented 7 years ago

I wound up writing a new maven wagon that uses the AWS CLI to sidestep dependency hell: https://github.com/SparkFund/aws-cli-wagon