]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: auth engines pass optional account info into identities
authorCasey Bodley <cbodley@redhat.com>
Thu, 29 Feb 2024 15:56:21 +0000 (10:56 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:29 +0000 (15:34 -0400)
commite3d065b2e4c854ee325471e929b1fcbb5d375e3f
treeb5325dc14c2ffc832d65f658316464dbb1b62edc
parentb0d530e26fdaf3beeb7baff98207607c1f768389
rgw/auth: auth engines pass optional account info into identities

the auth identities need the RGWAccountInfo instead of just the account
id so they can fill in the correct ACLOwner::display_name

this also adds account ownership support to WebIdentityApplier for
AssumeRoleWithWebIdentity

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8e839ef4be0617b0b881c4ec476c31ec260c5157)
13 files changed:
src/rgw/driver/rados/rgw_data_sync.cc
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h
src/rgw/rgw_auth_s3.h
src/rgw/rgw_lib.cc
src/rgw/rgw_lib.h
src/rgw/rgw_process.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_sts.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_swift_auth.cc
src/rgw/rgw_swift_auth.h