JeremyGrosser / tablesnap

Uses inotify to monitor Cassandra SSTables and upload them to S3
BSD 2-Clause "Simplified" License
181 stars 86 forks source link

Added option to connect without AWS credentials #90

Closed mzbyszynski closed 6 years ago

mzbyszynski commented 7 years ago

In case no aws key or secret are provided, the code will attempt to s3 without credentials. If the code is executed from an AWS server that has a IAM role associated with it, you can grant access to your bucket directly to the role and you don't have to keep any secrets on the server.

I've verified this worked on AWS when run from a server that has an IAM role associated with it, and that it doesn't break any of your tests. I don't see a way of actually testing this option locally, so I didn't modify any test code.

Closes #80.

Let me know what you think! And thanks for making this great package!

nabilnathani10 commented 7 years ago

This looks good

tobert commented 6 years ago

I'm running this patch in my environment and it works great.