AWS IAM documentation change
Summary
Added PowerShell V5 example for deactivating an IAM user's access key
Security assessment
Demonstrates security best practice of disabling unused access keys, but no specific vulnerability addressed
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md index a8ace1edd..030420a4c 100644 --- a//IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md @@ -412,0 +413,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example changes the status of the access key`AKIAIOSFODNN7EXAMPLE` for the IAM user named `Bob` to `Inactive`.** + + + Update-IAMAccessKey -UserName Bob -AccessKeyId AKIAIOSFODNN7EXAMPLE -Status Inactive + + + * For API details, see [UpdateAccessKey](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +