AWS IAM documentation change
Summary
Added PowerShell V5 example for attaching Cognito policy to users
Security assessment
Documents user policy management without addressing specific security issues
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_AttachUserPolicy_section.md b/IAM/latest/UserGuide/iam_example_iam_AttachUserPolicy_section.md index 1fa42537f..a9dc9523d 100644 --- a//IAM/latest/UserGuide/iam_example_iam_AttachUserPolicy_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_AttachUserPolicy_section.md @@ -57,0 +58,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example attaches the AWS managed policy named`AmazonCognitoPowerUser` to the IAM user `Bob`. The user is immediately affected by the permissions defined in the latest version of that policy.** + + + Register-IAMUserPolicy -UserName Bob -PolicyArn arn:aws:iam::aws:policy/AmazonCognitoPowerUser + + + * For API details, see [AttachUserPolicy](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +