AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_CreateAccessKey_section.md

Summary

Added PowerShell V5 example for creating access keys

Security assessment

Documents credential creation process without addressing security vulnerabilities

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateAccessKey_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateAccessKey_section.md
index 4dde184aa..dc299ea62 100644
--- a//IAM/latest/UserGuide/iam_example_iam_CreateAccessKey_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_CreateAccessKey_section.md
@@ -495,0 +496,23 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates a new access key and secret access key pair and assigns it to the user`David`. Ensure that you save the `AccessKeyId` and `SecretAccessKey` values to a file because this is the only time you can obtain the `SecretAccessKey`. You cannot retrieve it later. If you lose the secret key, you must create a new access key pair.**
+    
+    
+    New-IAMAccessKey -UserName David
+    
+
+**Output:**
+    
+    
+    AccessKeyId     : AKIAIOSFODNN7EXAMPLE
+    CreateDate      : 4/13/2015 1:00:42 PM
+    SecretAccessKey : wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
+    Status          : Active
+    UserName        : David
+
+  * For API details, see [CreateAccessKey](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+