AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_CreateLoginProfile_section.md

Summary

Added PowerShell V5 example for creating a login profile with password reset requirement

Security assessment

Shows implementation of password reset requirement which is a security best practice, but doesn't address a specific known vulnerability

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateLoginProfile_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateLoginProfile_section.md
index 7c99f903a..c75b97814 100644
--- a//IAM/latest/UserGuide/iam_example_iam_CreateLoginProfile_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_CreateLoginProfile_section.md
@@ -89,0 +90,21 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates a (temporary) password for the IAM user named Bob, and sets the flag that requires the user to change the password the next time`Bob` signs in.**
+    
+    
+    New-IAMLoginProfile -UserName Bob -Password P@ssw0rd -PasswordResetRequired $true
+    
+
+**Output:**
+    
+    
+    CreateDate                    PasswordResetRequired                UserName
+    ----------                    ---------------------                --------
+    4/14/2015 12:26:30 PM         True                                 Bob
+
+  * For API details, see [CreateLoginProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+