AWS code-library documentation change
Summary
Added PowerShell V5 example showing retrieval of user login profile including password reset status
Security assessment
While login profiles are security-relevant, the change only demonstrates existing functionality for checking password requirements. It doesn't introduce new security features or address vulnerabilities, but documents existing security-related capabilities.
Diff
diff --git a/code-library/latest/ug/iam_example_iam_GetLoginProfile_section.md b/code-library/latest/ug/iam_example_iam_GetLoginProfile_section.md index ccaa75595..24916021f 100644 --- a//code-library/latest/ug/iam_example_iam_GetLoginProfile_section.md +++ b//code-library/latest/ug/iam_example_iam_GetLoginProfile_section.md @@ -70,0 +71,21 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns the password creation date and whether a password reset is required for the IAM user`David`.** + + + Get-IAMLoginProfile -UserName David + + +**Output:** + + + CreateDate PasswordResetRequired UserName + ---------- --------------------- -------- + 12/10/2014 3:39:44 PM False David + + * For API details, see [GetLoginProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +