]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: set keys from from master zone on admin api user modify 48731/head
authorAli Maredia <amaredia@redhat.com>
Tue, 29 Nov 2022 22:31:25 +0000 (17:31 -0500)
committerAli Maredia <amaredia@redhat.com>
Tue, 24 Jan 2023 21:01:34 +0000 (16:01 -0500)
commit34033ea15ee258189f2e48ebc707fd67e9bb5a19
treecf8c02e073f1e9412cb637bc9c797a4f54bc0d6b
parente3a26f77c090076eb76bf67af659ce88af9eee8e
rgw: set keys from from master zone on admin api user modify

When users were being modified via the admin_api
to generate keys on a secondary zone, the keys
returned in the json output are not correct.

This commit ensures the proper keys are set to be
returned to the user via the json output.

fixes: https://tracker.ceph.com/issues/57724

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/rgw/driver/rados/rgw_rest_user.cc
src/rgw/driver/rados/rgw_user.cc
src/rgw/driver/rados/rgw_user.h