Description of problem: Currently there is no option to modify max_session_duration for existing roles, such attempt returns: "MethodNotAllowed", HTTP status 405. ---- Example of boto3 code is: iam_client.update_role( RoleName=myrole, MaxSessionDuration=43200 ) ---- Using "radosgw-admin role modify" does not work either: # radosgw-admin role modify --role-name=S3Access1 --max-session-duration=7200 ERROR: invalid flag --max-session-duration=7200 Version-Release number of selected component (if applicable): RHCS 5 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:0076
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days