Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the recommended s3 policy in s3 offload media #8731

Merged
merged 5 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions source/content/guides/wordpress-developer/07-wordpress-s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,31 +75,33 @@ You must configure the service within your [AWS Management Console](https://cons
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ObjectLevel",
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::bucketname/*"
},
{
"Sid": "BucketLevel",
"Effect": "Allow",
"Action": [
"s3:GetBucketPublicAccessBlock",
"s3:GetBucketOwnershipControls",
"s3:ListBucket",
"s3:GetBucketLocation"
"s3:GetBucketPublicAccessBlock",
"s3:PutBucketPublicAccessBlock",
"s3:PutBucketOwnershipControls",
"s3:GetBucketOwnershipControls",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::bucketname"
}
]
}
```

![Create AWS S3 access step 2](../../../images/guides/s3-access2.png)
![Create AWS S3 access step 2](../../../images/guides/s3-access2-updated.png)

1. Enter your policy name in the **Policy name** field (for example, Pantheons3Access) and then click **Create Policy**.

Expand All @@ -117,7 +119,7 @@ You must configure the service within your [AWS Management Console](https://cons

<Alert title="Note" type="info">

Steps 1-3 create a custom AWS User policy with read and write permissions to the specific bucket assigned to your site. You can select the **AmazonS3FullAccess** policy to replace the custom policy that you created if you require higher permissions.
Steps 1-3 create a custom AWS User policy with read and write permissions to the specific bucket assigned to your site. You can select the **AmazonS3FullAccess** policy to replace the custom policy that you created if you require higher permissions (example: listing buckets in the WP Offload Media plugin).

</Alert>

Expand Down
Binary file added source/images/guides/s3-access2-updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/guides/s3-access2.png
Binary file not shown.
Loading