AWS code-library documentation change
Summary
Added PowerShell V5 examples for user details retrieval including password last used
Security assessment
Documents user credential monitoring features but doesn't address specific security vulnerabilities
Diff
diff --git a/code-library/latest/ug/iam_example_iam_GetUser_section.md b/code-library/latest/ug/iam_example_iam_GetUser_section.md index 8f9e2500c..2e53487fc 100644 --- a//code-library/latest/ug/iam_example_iam_GetUser_section.md +++ b//code-library/latest/ug/iam_example_iam_GetUser_section.md @@ -244,0 +245,40 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example retrieves details about the user named`David`.** + + + Get-IAMUser -UserName David + + +**Output:** + + + Arn : arn:aws:iam::123456789012:user/David + CreateDate : 12/10/2014 3:39:27 PM + PasswordLastUsed : 3/19/2015 8:44:04 AM + Path : / + UserId : Y4FKWQCXTA52QEXAMPLE1 + UserName : David + +**Example 2: This example retrieves details about the currently signed-in IAM user.** + + + Get-IAMUser + + +**Output:** + + + Arn : arn:aws:iam::123456789012:user/Bob + CreateDate : 10/16/2014 9:03:09 AM + PasswordLastUsed : 3/4/2015 12:12:33 PM + Path : / + UserId : 7K3GJEANSKZF2EXAMPLE2 + UserName : Bob + + * For API details, see [GetUser](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +