AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2026-04-19 · Documentation low

File: IAM/latest/UserGuide/id_roles_update-role-settings.md

Summary

Fixed CLI parameter name from 'max-sessionduration' to 'max-session-duration'

Security assessment

This corrects a CLI parameter name to match the actual AWS CLI syntax. While using incorrect parameters could cause operational issues, there's no evidence this addresses a security vulnerability or weakness.

Diff

diff --git a/IAM/latest/UserGuide/id_roles_update-role-settings.md b/IAM/latest/UserGuide/id_roles_update-role-settings.md
index 5fd763366..d18633f2b 100644
--- a//IAM/latest/UserGuide/id_roles_update-role-settings.md
+++ b//IAM/latest/UserGuide/id_roles_update-role-settings.md
@@ -121 +121 @@ Anyone who assumes the role from the AWS CLI or API can use the `duration-second
-  2. To update a role's maximum session duration setting, call the following operation with the `max-sessionduration` CLI parameter or the `MaxSessionDuration` API parameter:
+  2. To update a role's maximum session duration setting, call the following operation with the `max-session-duration` CLI parameter or the `MaxSessionDuration` API parameter: