]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/sts: by-passing authentication using temp creds
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 28 Mar 2024 11:16:20 +0000 (16:46 +0530)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:21:24 +0000 (10:21 -0400)
commit31115617f801f0c4c1477b8f63a0d151b3a54217
treecbbbb429810b6a9b01c29f2d1b4247d17cc9ca29
parent8df4497ba96ef4377930090e2bf3062ef5f819dc
rgw/sts: by-passing authentication using temp creds
in case the request is forwarded from secondary in
a multi-site setup. authenticating with the system
user creds of which are used to sign the request.
Permissions are still derived from the role.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 63bc73802ddb0ef74d66d468293e489e4d5fa58f)
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h
src/rgw/rgw_auth_s3.h
src/rgw/rgw_rest_s3.cc