Title: onema's Replies | WordPress.org

---

# onema

  [  ](https://wordpress.org/support/users/onema/)

 *   [Profile](https://wordpress.org/support/users/onema/)
 *   [Topics Started](https://wordpress.org/support/users/onema/topics/)
 *   [Replies Created](https://wordpress.org/support/users/onema/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/onema/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/onema/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/onema/engagements/)
 *   [Favorites](https://wordpress.org/support/users/onema/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Amazon Web Services] Error retrieving a list of your S3 buckets from AWS: Access Denied](https://wordpress.org/support/topic/error-retrieving-a-list-of-your-s3-buckets-from-aws-access-denied-1/)
 *  [onema](https://wordpress.org/support/users/onema/)
 * (@onema)
 * [12 years ago](https://wordpress.org/support/topic/error-retrieving-a-list-of-your-s3-buckets-from-aws-access-denied-1/#post-4490262)
 * Sorry wrong support post 😛
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Amazon Web Services] Error retrieving a list of your S3 buckets from AWS: Access Denied](https://wordpress.org/support/topic/error-retrieving-a-list-of-your-s3-buckets-from-aws-access-denied-1/)
 *  [onema](https://wordpress.org/support/users/onema/)
 * (@onema)
 * [12 years ago](https://wordpress.org/support/topic/error-retrieving-a-list-of-your-s3-buckets-from-aws-access-denied-1/#post-4490261)
 * The problem here is that the user access key and secret you are using do not 
   have the proper permission to access the bucket, therefore the `AWS:Access Denied
   message`.
 * I believe this has nothing to do with the plugin.
 * Normally I would create a user with permission to access the buckets I want to
   manage using wordpress.
 * NOTE: NEVER give a user more permissions than it requires.
 * The policies to allow a user to manage a single bucket would look like this (
   just replace MY_BUCKET_NAME with your actual bucket name):
 *     ```
       {
           "Statement": [
               {
                   "Effect": "Allow",
                   "Action": "s3:ListAllMyBuckets",
                   "Resource": "arn:aws:s3:::*"
               },
               {
                   "Effect": "Allow",
                   "Action": "s3:*",
                   "Resource": [
                       "arn:aws:s3:::MY_BUCKET_NAME",
                       "arn:aws:s3:::MY_BUCKET_NAME/*"
                   ]
               }
           ]
       }
       ```
   
 * See the following links for more information on how to set users and apply policies.
 * [http://mikeferrier.com/2011/10/27/granting-access-to-a-single-s3-bucket-using-amazon-iam/](http://mikeferrier.com/2011/10/27/granting-access-to-a-single-s3-bucket-using-amazon-iam/)
 * [http://docs.aws.amazon.com/AmazonS3/latest/dev/walkthrough1.html](http://docs.aws.amazon.com/AmazonS3/latest/dev/walkthrough1.html)
 * [http://blogs.aws.amazon.com/security/post/TxPOJBY6FE360K/IAM-policies-and-Bucket-Policies-and-ACLs-Oh-My-Controlling-Access-to-S3-Resourc](http://blogs.aws.amazon.com/security/post/TxPOJBY6FE360K/IAM-policies-and-Bucket-Policies-and-ACLs-Oh-My-Controlling-Access-to-S3-Resourc)

Viewing 2 replies - 1 through 2 (of 2 total)