AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_UpdateRole_section.md

Summary

Added PowerShell V5 example for role session duration configuration

Security assessment

Documents session timeout controls but doesn't address a specific vulnerability

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateRole_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateRole_section.md
index dcb34e582..d70f9049b 100644
--- a//IAM/latest/UserGuide/iam_example_iam_UpdateRole_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_UpdateRole_section.md
@@ -51,0 +52,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example updates the role description and the maximum session duration value(in seconds) for which a role's session can be requested.**
+    
+    
+    Update-IAMRole -RoleName MyRoleName -Description "My testing role" -MaxSessionDuration 43200
+    
+
+  * For API details, see [UpdateRole](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+