AWS IAM documentation change
Summary
Added PowerShell V5 example for creating IAM user with notes about login profiles and access keys
Security assessment
The change documents proper user creation steps including separate credential management, which reinforces security best practices but does not address a specific vulnerability.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md index db159268f..39ad4bd89 100644 --- a//IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md @@ -642,0 +643,24 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example creates an IAM user named`Bob`. If Bob needs to sign in to the AWS console, then you must separately run the command `New-IAMLoginProfile` to create a sign-in profile with a password. If Bob needs to run AWS PowerShell or cross-platform CLI commands or make AWS API calls, then you must separately run the `New-IAMAccessKey` command to create access keys.** + + + New-IAMUser -UserName Bob + + +**Output:** + + + Arn : arn:aws:iam::123456789012:user/Bob + CreateDate : 4/22/2015 12:02:11 PM + PasswordLastUsed : 1/1/0001 12:00:00 AM + Path : / + UserId : AIDAJWGEFDMEMEXAMPLE1 + UserName : Bob + + * For API details, see [CreateUser](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +