AWS Security ChangesHomeSearch

AWS AmazonS3: Removed CLI file system policy example and IAM link wording

Service: AmazonS3 · 2026-10-03 · Documentation low

File: AmazonS3/latest/userguide/s3-files-file-system-policies-creating.md · Type: iam

Summary

Deleted the AWS CLI `put-file-system-policy` example that granted read-only `ClientMount` permissions, and trimmed the link text describing the S3 Files IAM page (removed 'and examples').

Security assessment

The change removes an illustrative least-privilege policy sample rather than fixing a defect or documenting a new control; the remaining prose still points readers to the IAM topic. No vulnerability, CVE, or new security guidance is introduced, so impact is limited.

Evidence

-The following `put-file-system-policy` example command shows how you can use the AWS CLI to create a file system policy for S3 Files.

Diff

diff --git a/AmazonS3/latest/userguide/s3-files-file-system-policies-creating.md b/AmazonS3/latest/userguide/s3-files-file-system-policies-creating.md
index 80c8d00..7303658 100644
--- a//AmazonS3/latest/userguide/s3-files-file-system-policies-creating.md
+++ b//AmazonS3/latest/userguide/s3-files-file-system-policies-creating.md
@@ -11 +11 @@ You can use file system policies to grant or deny permissions for NFS clients to
-You can update a file system policy by using the Amazon S3 console, the AWS CLI, programmatically with AWS SDKs, or the S3 Files API directly. These policy changes can take several minutes to take effect. S3 file system policies have a 20,000 character limit. For more information about using an S3 file system policy, supported actions, supported condition keys, and examples, see [How S3 Files works with IAM](./s3-files-security-iam.html).
+You can update a file system policy by using the Amazon S3 console, the AWS CLI, programmatically with AWS SDKs, or the S3 Files API directly. These policy changes can take several minutes to take effect. S3 file system policies have a 20,000 character limit. For more information about using an S3 file system policy, supported actions, and supported condition keys, see [How S3 Files works with IAM](./s3-files-security-iam.html).
@@ -32,17 +31,0 @@ This section explains how to use the Amazon S3 console to create a file system p
-The following `put-file-system-policy` example command shows how you can use the AWS CLI to create a file system policy for S3 Files. The following file system policy grants only `ClientMount` (read-only) permissions to the `ReadOnly` IAM role. Replace the example AWS account ID `111122223333` with your AWS account ID.
-    
-    
-    aws s3files put-file-system-policy --file-system-id file-system-id --policy '{
-        "Statement": [
-            {
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "arn:aws:iam::111122223333:role/ReadOnly"
-                },
-                "Action": [
-                    "s3files:ClientMount"
-                ]
-            }
-        ]
-    }'
-