Bucket Access
Hi there,
I'm trying to configure my new access key to have access to a specific bucket to read & write for a wordpress install.
I am able to read & write with the full permissions access key for all buckets, but as soon as put the access key for the bucket specific user then I cannot do what I need to the bucket in terms of permissions.
I have tried setpolicy command on the bucket I am trying to set for the access, but I am running the s3cmd as the main access key user so I'm not sure it's applying correctly.
How would I setup the new access key for the bucket to have read/write perms correctly?
Thank you in advance,
Josh
1 Reply
It's difficult to precisely answer your questions without knowing all the specifics of what you were trying to do here, but I'd like to provide some additional information here for anyone who comes across this post.
Users can Manage Access Keys through Cloud Manager. That will allow you to set each key's read/write access for each Bucket. You can then manage access further in Cloud Manager with Access Control Lists. That guide explains how to set more granular permissions with S3cmd.
You can also control access with S3cmd with Bucket Policies. It sounds like this is the route that was tried here. If it's not working as it should, I'd recommend looking through that guide and then checking the JSON file to make sure that all of the components are correct. There are also several useful links in that guide to AWS sources that provide additional options that S3cmd offers. Their resource on access policies may be a good place for more guidance.
I know this is an old post and this response is unlikely to help the original poster, but I wanted to also add a note for anyone who finds this and has further questions: Providing specific guides that you've used, steps that you've taken including specific commands, and any particular errors you're seeing could help our Community get you pointed toward a solution to any issue.