AWS Security ChangesHomeSearch

AWS IAM medium security documentation change

Service: IAM · 2025-06-25 · Security-related medium

File: IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md

Summary

Added PowerShell V5 example for checking access key usage

Security assessment

Enables monitoring of inactive access keys which is crucial for detecting and revoking unused credentials

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md b/IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md
index d0159be18..e0cac890d 100644
--- a//IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_GetAccessKeyLastUsed_section.md
@@ -195,0 +196,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: Returns the owning user name and last-usage information for the supplied access key.**
+    
+    
+    Get-IAMAccessKeyLastUsed -AccessKeyId ABCDEXAMPLE
+    
+
+  * For API details, see [GetAccessKeyLastUsed](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+