lein-essthree icon indicating copy to clipboard operation
lein-essthree copied to clipboard

Does not work with aws-vault / STS credentials

Open dball opened this issue 8 years ago • 3 comments

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 avatar Aug 16 '16 17:08 dball

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

dball avatar Aug 17 '16 19:08 dball

Any update on this?

timgilbert avatar Jan 12 '17 15:01 timgilbert

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

dball avatar Jan 12 '17 19:01 dball