AWS code-library documentation change
Summary
Added PowerShell V5 example for disabling S3 bucket encryption
Security assessment
Documents how to remove encryption configuration, which relates to security features. However, there is no evidence of addressing a specific security vulnerability.
Diff
diff --git a/code-library/latest/ug/s3_example_s3_DeleteBucketEncryption_section.md b/code-library/latest/ug/s3_example_s3_DeleteBucketEncryption_section.md index d0a8ac4fc..fd2bbd52a 100644 --- a//code-library/latest/ug/s3_example_s3_DeleteBucketEncryption_section.md +++ b//code-library/latest/ug/s3_example_s3_DeleteBucketEncryption_section.md @@ -57,0 +58,22 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This disables the encryption enabled for the S3 bucket provided.** + + + Remove-S3BucketEncryption -BucketName 'amzn-s3-demo-bucket' + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing the operation "Remove-S3BucketEncryption (DeleteBucketEncryption)" on target "s3casetestbucket". + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y + + * For API details, see [DeleteBucketEncryption](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +