AWS code-library documentation change
Summary
Added PowerShell V5 example for retrieving S3 bucket ACL information
Security assessment
Shows how to access access control list details, which is security-related configuration, but does not indicate any security issue resolution.
Diff
diff --git a/code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md b/code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md index 6b6dd3dc8..e71433761 100644 --- a//code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md +++ b//code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md @@ -382,0 +383,24 @@ Get the ACL permissions. +PowerShell + + +**Tools for PowerShell V5** + + +**Example 1: The command gets the details of the object owner of the S3 object.** + + + (Get-S3BucketACL -BucketName 'amzn-s3-demo-bucket' -Select *).Owner + + +**Output:** + + + DisplayName Id + ----------- -- + testusername 9988776a6554433d22f1100112e334acb45566778899009e9887bd7f66c5f544 + + * For API details, see [GetBucketAcl](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +