AWS IAM documentation change
Summary
Added PowerShell V5 example for deleting login profile with note about access key persistence
Security assessment
Documents security-relevant operation (disabling console access) but doesn't address a specific vulnerability. The note about access keys highlights a security consideration.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_DeleteLoginProfile_section.md b/IAM/latest/UserGuide/iam_example_iam_DeleteLoginProfile_section.md index 98341e2df..e05b5bb06 100644 --- a//IAM/latest/UserGuide/iam_example_iam_DeleteLoginProfile_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_DeleteLoginProfile_section.md @@ -49,0 +50,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example deletes the login profile from the IAM user named`Bob`. This prevents the user from signing-in to the AWS console. It does not prevent the user from running any AWS CLI, PowerShell, or API calls using AWS access keys that might still be attached to the user account.** + + + Remove-IAMLoginProfile -UserName Bob + + + * For API details, see [DeleteLoginProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +