AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2025-06-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md

Summary

Added PowerShell V5 examples for renaming IAM users and changing user paths using Update-IAMUser cmdlet

Security assessment

The changes demonstrate routine usage of user management commands without addressing security vulnerabilities or introducing security features.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md
index 929e31926..2332eafba 100644
--- a//IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md
@@ -293,0 +294,20 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example renames the IAM user`Bob` to `Robert`.**
+    
+    
+    Update-IAMUser -UserName Bob -NewUserName Robert
+    
+
+**Example 2: This example changes the path of the IAM User`Bob` to `/Org1/Org2/`, which effectively changes the ARN for the user to `arn:aws:iam::123456789012:user/Org1/Org2/bob`.**
+    
+    
+    Update-IAMUser -UserName Bob -NewPath /Org1/Org2/
+    
+
+  * For API details, see [UpdateUser](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+