AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_UpdateAssumeRolePolicy_section.md

Summary

Added PowerShell V5 example for updating role trust policies

Security assessment

Shows management of critical security controls (trust policies) but no evidence of patching a specific issue

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateAssumeRolePolicy_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateAssumeRolePolicy_section.md
index 99b9bbdb0..7e5f1a4c6 100644
--- a//IAM/latest/UserGuide/iam_example_iam_UpdateAssumeRolePolicy_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_UpdateAssumeRolePolicy_section.md
@@ -54,0 +55,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example updates the IAM role named`ClientRole` with a new trust policy, the contents of which come from the file `ClientRolePolicy.json`. Note that you must use the `-Raw` switch parameter to successfully process the contents of the JSON file.**
+    
+    
+    Update-IAMAssumeRolePolicy -RoleName ClientRole -PolicyDocument (Get-Content -raw ClientRolePolicy.json)
+    
+
+  * For API details, see [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+