markevans / dragonfly-s3_data_store

S3 data store for the Dragonfly ruby gem
MIT License
62 stars 58 forks source link

What is the minimal IAM permission to run s3_data_store? #30

Open dlibanori opened 6 years ago

dlibanori commented 6 years ago

Is that all?

nashbridges commented 4 years ago

Here's what permissions you might need:

Reading

Writing

Deleting

andrewgarner commented 4 years ago

After some trial and error I managed to get it working with the following permissions:

duckworth commented 2 years ago

I am also struggling with the actual minimal IAM permissions. I am seeing a ton of 403 forbidden errors getting generated by this library and it appears to be due to the storage.sync_clock which calls ListBuckets on S3 ( a GET /) for which the IAM user does not have permissions.

Any thoughts on making sync_clock optional or use an operation the IAM user has permissions for to achieve it (it appears to ignore the error and just parse the response headers Date anyway)?