AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_DeleteRolePolicy_section.md

Summary

Added PowerShell V5 example for deleting inline role policy

Security assessment

Documents secure policy management practice but doesn't resolve a specific vulnerability

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_DeleteRolePolicy_section.md b/IAM/latest/UserGuide/iam_example_iam_DeleteRolePolicy_section.md
index f00900310..8eecb438a 100644
--- a//IAM/latest/UserGuide/iam_example_iam_DeleteRolePolicy_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_DeleteRolePolicy_section.md
@@ -121,0 +122,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example deletes the inline policy`S3AccessPolicy` that is embedded in the IAM role `S3BackupRole`.**
+    
+    
+    Remove-IAMRolePolicy -PolicyName S3AccessPolicy -RoleName S3BackupRole
+    
+
+  * For API details, see [DeleteRolePolicy](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+