AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md

Summary

Added PowerShell V5 example for deleting access keys

Security assessment

Shows proper access key rotation/removal procedures, which is a security best practice, but not a direct vulnerability fix.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md b/code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
index 9794111c3..246d642d3 100644
--- a//code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
+++ b//code-library/latest/ug/iam_example_iam_DeleteAccessKey_section.md
@@ -489,0 +490,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example deletes the AWS access key pair with the key ID`AKIAIOSFODNN7EXAMPLE` from the user named `Bob`.**
+    
+    
+    Remove-IAMAccessKey -AccessKeyId AKIAIOSFODNN7EXAMPLE -UserName Bob -Force
+    
+
+  * For API details, see [DeleteAccessKey](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+