AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for setting user permission boundaries

Security assessment

The change documents how to set permission boundaries, which is a security feature for limiting user permissions. No evidence of addressing a specific vulnerability.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_PutUserPermissionsBoundary_section.md b/code-library/latest/ug/iam_example_iam_PutUserPermissionsBoundary_section.md
index 8aacd103f..4c5038475 100644
--- a//code-library/latest/ug/iam_example_iam_PutUserPermissionsBoundary_section.md
+++ b//code-library/latest/ug/iam_example_iam_PutUserPermissionsBoundary_section.md
@@ -64,0 +65,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example shows how to set the Permission boundary for the user. You can set AWS Managed policies or Custom policies as permission boundary.**
+    
+    
+    Set-IAMUserPermissionsBoundary -UserName joe -PermissionsBoundary arn:aws:iam::123456789012:policy/intern-boundary
+    
+
+  * For API details, see [PutUserPermissionsBoundary](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+