WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Web Services
Error retrieving a list of your S3 buckets from AWS: Access Denied (7 posts)

  1. ktrusak
    Member
    Posted 6 months ago #

    Getting the following error:

    Error retrieving a list of your S3 buckets from AWS: Access Denied

    What are the proper settings for S3 buckets.

    http://wordpress.org/plugins/amazon-web-services/

  2. mhartel
    Member
    Posted 6 months ago #

    getting a similar error:
    Error retrieving a list of your S3 buckets from AWS: [curl] 77: [url] https://s3.amazonaws.com/

    I added permissions for authenticated users. please help

  3. ayron
    Member
    Posted 2 months ago #

    S3/CloudFront plugin.
    My bucket is set to "s3-sa-east-1.amazonaws.com" region,
    uploading is done correctly, but the url of the images link to "s3.amazonws.com", breaking the link.
    How can I solve this?

  4. joshpodolske
    Member
    Posted 1 month ago #

    Nothing resolved on these? Im having the same issue.

  5. elzizzo
    Member
    Posted 2 weeks ago #

    Same problem here. Anything? Anyone?

  6. onema
    Member
    Posted 2 weeks ago #

    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://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

  7. onema
    Member
    Posted 2 weeks ago #

    Sorry wrong support post :P

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.