AWS AmazonS3: Removed file system policy example section from IAM topic
Summary
Deleted the 'File system policy examples' section, including the read-only `ClientMount` policy example and the access-point-scoped policy example using the `s3files:AccessPointArn` condition key, and removed the corresponding TOC entry.
Security assessment
The diff removes two sample IAM/resource policies (including a condition-key example that illustrates scoping access to a specific access point). Removing example policies is not remediation of a vulnerability and slightly reduces available authorization examples, but no security defect or CVE is referenced.
Evidence
-## File system policy examples
Diff
diff --git a/AmazonS3/latest/userguide/s3-files-security-iam.md b/AmazonS3/latest/userguide/s3-files-security-iam.md index fb89881..10adc48 100644 --- a//AmazonS3/latest/userguide/s3-files-security-iam.md +++ b//AmazonS3/latest/userguide/s3-files-security-iam.md @@ -7 +7 @@ -Identity-based policiesResource-based policiesS3 Files actions for clientsS3 Files condition keys for clientsFile system policy examplesPOSIX permissionsSecurity groups +Identity-based policiesResource-based policiesS3 Files actions for clientsS3 Files condition keys for clientsPOSIX permissionsSecurity groups @@ -56,45 +55,0 @@ Condition key | Description | Operator -## File system policy examples - -### Example: Grant read-only access - -The following file system policy grants only `ClientMount` (read-only) permissions to the `ReadOnly` IAM role. Replace `111122223333` with your AWS account ID. - - - { - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "AWS": "arn:aws:iam::111122223333:role/ReadOnly" - }, - "Action": [ - "s3files:ClientMount" - ] - } - ] - } - -### Example: Grant access to an S3 Files access point - -The following file system policy uses a condition element to grant a specific access point full access to the file system when mounting through the access point specified. Replace the access point ARN and account ID with your values. For more information, see [Creating access points for an S3 file system](./s3-files-access-points-creating.html). - - - { - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "AWS": "arn:aws:iam::555555555555:role/S3FilesAccessPointFullAccess" - }, - "Action": [ - "s3files:Client*" - ], - "Condition": { - "StringEquals": { - "s3files:AccessPointArn": "arn:partition:s3files:region:account-id:file-system/fs-1234567890/access-point/fsap-0987654321" - } - } - } - ] - } -