AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_ListAccessKeys_section.md

Summary

Added PowerShell V5 example for listing access keys with note about secret access key rotation

Security assessment

Documents proper procedure for handling lost access keys (security best practice) but does not address a specific vulnerability

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_ListAccessKeys_section.md b/IAM/latest/UserGuide/iam_example_iam_ListAccessKeys_section.md
index 108d82fcf..e6a250dc4 100644
--- a//IAM/latest/UserGuide/iam_example_iam_ListAccessKeys_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_ListAccessKeys_section.md
@@ -527,0 +528,22 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This command lists the access keys for the IAM user named`Bob`. Note that you cannot list the secret access keys for IAM users. If the secret access keys are lost, you must create new access keys with the `New-IAMAccessKey` cmdlet.**
+    
+    
+    Get-IAMAccessKey -UserName "Bob"
+    
+
+**Output:**
+    
+    
+    AccessKeyId                CreateDate                   Status              UserName
+    -----------                ----------                   ------              --------
+    AKIAIOSFODNN7EXAMPLE       12/3/2014 10:53:41 AM        Active              Bob
+    AKIAI44QH8DHBEXAMPLE       6/6/2013 8:42:26 PM          Inactive            Bob
+
+  * For API details, see [ListAccessKeys](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+