Bug 2019870 - [cee/sd][rgw][rfe] add method to modify role max_session_duration for existing role [NEEDINFO]
Summary: [cee/sd][rgw][rfe] add method to modify role max_session_duration for existin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.3
Assignee: Pritha Srivastava
QA Contact: Madhavi Kasturi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2126049 2137015
TreeView+ depends on / blocked
 
Reported: 2021-11-03 14:14 UTC by Tomas Petr
Modified: 2023-01-11 17:39 UTC (History)
11 users (show)

Fixed In Version: ceph-16.2.10-7.el8cp
Doc Type: Enhancement
Doc Text:
.STS `max_session_duration` for a role can now be updated With this release, the STS `max_session_duration` for a role can be updated using the `radosgw-admin` command-line interface.
Clone Of:
: 2019878 2137015 (view as bug list)
Environment:
Last Closed: 2023-01-11 17:38:56 UTC
Embargoed:
fkellehe: needinfo? (prsrivas)
fkellehe: needinfo? (prsrivas)
akraj: needinfo? (prsrivas)
akraj: needinfo? (prsrivas)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2172 0 None None None 2021-11-03 19:06:48 UTC
Red Hat Product Errata RHSA-2023:0076 0 None None None 2023-01-11 17:39:41 UTC

Description Tomas Petr 2021-11-03 14:14:53 UTC
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:

Comment 93 errata-xmlrpc 2023-01-11 17:38:56 UTC
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


Note You need to log in before you can comment on or make changes to this bug.