AWS code-library documentation change
Summary
Added PowerShell V5 example for updating role session duration settings
Security assessment
Documents session duration control (security parameter) but no vulnerability addressed
Diff
diff --git a/code-library/latest/ug/iam_example_iam_UpdateRole_section.md b/code-library/latest/ug/iam_example_iam_UpdateRole_section.md index 87bf9a547..3a008e780 100644 --- a//code-library/latest/ug/iam_example_iam_UpdateRole_section.md +++ b//code-library/latest/ug/iam_example_iam_UpdateRole_section.md @@ -53,0 +54,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example updates the role description and the maximum session duration value(in seconds) for which a role's session can be requested.** + + + Update-IAMRole -RoleName MyRoleName -Description "My testing role" -MaxSessionDuration 43200 + + + * For API details, see [UpdateRole](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +