AWS IAM documentation change
Summary
Added PowerShell V5 example for listing attached user policies
Security assessment
Documents policy auditing capabilities (security feature) but doesn't indicate any vulnerability remediation
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_ListAttachedUserPolicies_section.md b/IAM/latest/UserGuide/iam_example_iam_ListAttachedUserPolicies_section.md index d572160dd..755c0f264 100644 --- a//IAM/latest/UserGuide/iam_example_iam_ListAttachedUserPolicies_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_ListAttachedUserPolicies_section.md @@ -71,0 +72,21 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This command returns the names and ARNs of the managed policies for the IAM user named`Bob` in the AWS account. To see the list of inline policies that are embedded in the IAM user, use the `Get-IAMUserPolicyList` command.** + + + Get-IAMAttachedUserPolicyList -UserName "Bob" + + +**Output:** + + + PolicyArn PolicyName + --------- ---------- + arn:aws:iam::aws:policy/TesterPolicy TesterPolicy + + * For API details, see [ListAttachedUserPolicies](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +