]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 10 Apr 2024 17:09:16 +0000 (13:09 -0400)
commit8e839ef4be0617b0b881c4ec476c31ec260c5157
treecc9c3ce59f084f00d88ce8027e2420d9b5b777dd
parentca69e6879358f781fab7bdbcdcbe3e49fdaee81a
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>
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