AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_ListRoles_section.md

Summary

Added PowerShell V5 example for ListRoles command

Security assessment

The change documents role enumeration, which supports security auditing practices but does not address a specific vulnerability.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_ListRoles_section.md b/IAM/latest/UserGuide/iam_example_iam_ListRoles_section.md
index b9323082c..41b965c9d 100644
--- a//IAM/latest/UserGuide/iam_example_iam_ListRoles_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_ListRoles_section.md
@@ -283,0 +284,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example retrieves a list of all of the IAM roles in the AWS account.**
+    
+    
+    Get-IAMRoleList
+    
+
+  * For API details, see [ListRoles](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+