+++ This bug was initially created as a clone of Bug #2019870 +++ 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 4 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 (Red Hat Ceph Storage 4.3 Bug Fix update), 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/RHBA-2022:6684