AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/s3_example_s3_GetBucketEncryption_section.md

Summary

Added PowerShell V5 example for retrieving S3 bucket encryption settings

Security assessment

Documents inspection of encryption configuration, a security feature, but does not address any specific vulnerability.

Diff

diff --git a/code-library/latest/ug/s3_example_s3_GetBucketEncryption_section.md b/code-library/latest/ug/s3_example_s3_GetBucketEncryption_section.md
index a8b33544d..d79b97401 100644
--- a//code-library/latest/ug/s3_example_s3_GetBucketEncryption_section.md
+++ b//code-library/latest/ug/s3_example_s3_GetBucketEncryption_section.md
@@ -112,0 +113,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This command returns all the server side encryption rules associated with the given bucket.**
+    
+    
+    Get-S3BucketEncryption -BucketName 'amzn-s3-demo-bucket'
+    
+
+  * For API details, see [GetBucketEncryption](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+