AWS IAM documentation change
Summary
Added PowerShell V5 example for Get-IAMGroup command showing group details retrieval
Security assessment
Change adds operational example for retrieving group information without addressing security vulnerabilities or introducing security features
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_GetGroup_section.md b/IAM/latest/UserGuide/iam_example_iam_GetGroup_section.md index bdc79ce01..d3cbfa9ac 100644 --- a//IAM/latest/UserGuide/iam_example_iam_GetGroup_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_GetGroup_section.md @@ -103,0 +104,56 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns details about the IAM group`Testers`, including a collection of all the IAM users that belong to the group. ** + + + $results = Get-IAMGroup -GroupName "Testers" + $results + + +**Output:** + + + Group IsTruncated Marker Users + ----- ----------- ------ ----- + Amazon.IdentityManagement.Model.Group False {Theresa, David} + + + $results.Group + + +**Output:** + + + Arn : arn:aws:iam::123456789012:group/Testers + CreateDate : 12/10/2014 3:39:11 PM + GroupId : 3RHNZZGQJ7QHMAEXAMPLE1 + GroupName : Testers + Path : / + + + $results.Users + + +**Output:** + + + Arn : arn:aws:iam::123456789012:user/Theresa + CreateDate : 12/10/2014 3:39:27 PM + PasswordLastUsed : 1/1/0001 12:00:00 AM + Path : / + UserId : 4OSVDDJJTF4XEEXAMPLE2 + UserName : Theresa + + 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 : Y4FKWQCXTA52QEXAMPLE3 + UserName : David + + * For API details, see [GetGroup](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +