Support » Plugin: WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage » Getting Access Denied error with correct permissiomns

  • We’re currently experiencing some issues with the permissions. Even though we set all permissions for the bucket, we are still receiving an access denied error.

    Maybe you can point us in the right direction?

    Those are the IAM permissions for S3:

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Sid": "VisualEditor0",
                "Effect": "Allow",
                "Action": [
                    "s3:ListAllMyBuckets",
                    "s3:HeadBucket",
                    "s3:GetBucketLocation"
                ],
                "Resource": "*"
            },
            {
                "Sid": "VisualEditor1",
                "Effect": "Allow",
                "Action": [
                    "s3:ListBucketByTags",
                    "s3:GetLifecycleConfiguration",
                    "s3:GetBucketTagging",
                    "s3:GetInventoryConfiguration",
                    "s3:GetObjectVersionTagging",
                    "s3:ListBucketVersions",
                    "s3:GetBucketLogging",
                    "s3:ReplicateTags",
                    "s3:RestoreObject",
                    "s3:ListBucket",
                    "s3:GetAccelerateConfiguration",
                    "s3:GetBucketPolicy",
                    "s3:ReplicateObject",
                    "s3:GetObjectVersionTorrent",
                    "s3:GetObjectAcl",
                    "s3:GetEncryptionConfiguration",
                    "s3:AbortMultipartUpload",
                    "s3:GetBucketRequestPayment",
                    "s3:GetObjectVersionAcl",
                    "s3:GetObjectTagging",
                    "s3:GetMetricsConfiguration",
                    "s3:PutObjectTagging",
                    "s3:DeleteObject",
                    "s3:PutBucketVersioning",
                    "s3:GetIpConfiguration",
                    "s3:DeleteObjectTagging",
                    "s3:ListBucketMultipartUploads",
                    "s3:GetBucketWebsite",
                    "s3:PutObjectVersionTagging",
                    "s3:GetBucketVersioning",
                    "s3:PutBucketCORS",
                    "s3:GetBucketAcl",
                    "s3:GetBucketNotification",
                    "s3:GetReplicationConfiguration",
                    "s3:ListMultipartUploadParts",
                    "s3:PutObject",
                    "s3:GetObject",
                    "s3:PutBucketNotification",
                    "s3:GetObjectTorrent",
                    "s3:PutBucketLogging",
                    "s3:GetBucketCORS",
                    "s3:GetAnalyticsConfiguration",
                    "s3:GetObjectVersionForReplication",
                    "s3:GetBucketLocation",
                    "s3:GetObjectVersion"
                ],
                "Resource": [
                    "arn:aws:s3:::asd-wp-upload",
                    "arn:aws:s3:::asd-wp-upload/*"
                ]
            }
        ]
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • is it possible to get an answer for this support request?

    Plugin Contributor ianmjones

    (@ianmjones)

    First glance, IAM policy looks ok, but these things are hard to debug from just looking at them.

    Maybe double check that access keys are properly set for WP Offload Media.

    Then try setting up a new IAM user with default access as per our Amazon S3 Quick Start Guide to ensure things are working with defaults.

    Then tweak that new IAM user’s policy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Access Denied error with correct permissiomns’ is closed to new replies.