AWS Security ChangesHomeSearch

AWS AmazonS3: Add least-privilege scoping and direct-S3-access warning to IAM policy

Service: AmazonS3 · 2026-09-27 · Documentation medium

File: AmazonS3/latest/userguide/s3-files-prereq-policies.md · Type: iam

Summary

Rewords the inline IAM policy guidance to note it grants the compute resource direct object reads from the linked bucket for large I/O performance and now instructs scoping with a bucket name or bucket-name-plus-prefix. Adds a note that POSIX permissions do not apply to direct S3 access, so IAM and bucket policies govern those reads.

Security assessment

The change both tightens the recommended policy scope (prefix-limited access: "scope access only to the objects that the compute resource needs") and adds an explicit warning that the granted s3:GetObject read path bypasses POSIX permissions, reinforcing least-privilege IAM as the effective control. This is hardening/least-privilege documentation rather than a fix for a named vulnerability.

Evidence

+This policy grants direct `s3:GetObject` access to the bucket. Reads made directly against Amazon S3 are governed by IAM and bucket policies, not by POSIX permissions. For more information, see [POSIX permissions and direct S3 access](./s3-files-posix-permissions.html#s3-files-posix-permissions-direct-s3-access).

Diff

diff --git a/AmazonS3/latest/userguide/s3-files-prereq-policies.md b/AmazonS3/latest/userguide/s3-files-prereq-policies.md
index 787d2bd26..b8846cea9 100644
--- a//AmazonS3/latest/userguide/s3-files-prereq-policies.md
+++ b//AmazonS3/latest/userguide/s3-files-prereq-policies.md
@@ -235 +235 @@ The IAM role must include permissions for the mount helper to connect to and int
-Add the following inline policy to the IAM role. This policy grants the compute resource permissions to directly read objects from the linked S3 bucket in the same account to optimize read performance. Replace `bucket` with your S3 bucket name or bucket name with prefix.
+Add the following inline policy to the IAM role. This policy lets the compute resource read objects directly from the linked S3 bucket in the same account. This improves read performance for large I/O operations. Replace `bucket` with your S3 bucket name, or with your bucket name and a prefix to scope access only to the objects that the compute resource needs.
@@ -257,0 +258,4 @@ Add the following inline policy to the IAM role. This policy grants the compute
+###### POSIX permissions don't apply to direct S3 access
+
+This policy grants direct `s3:GetObject` access to the bucket. Reads made directly against Amazon S3 are governed by IAM and bucket policies, not by POSIX permissions. For more information, see [POSIX permissions and direct S3 access](./s3-files-posix-permissions.html#s3-files-posix-permissions-direct-s3-access).
+