]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: set keys from from master zone on admin api user create
authorAli Maredia <amaredia@redhat.com>
Tue, 18 Oct 2022 18:23:57 +0000 (14:23 -0400)
committerAli Maredia <amaredia@redhat.com>
Tue, 24 Jan 2023 21:01:34 +0000 (16:01 -0500)
commite3a26f77c090076eb76bf67af659ce88af9eee8e
tree6fcef3b6c709a9034476c9d3592ebc4eed26e649
parent3af256f48484cb95eeab1bdc4ac1c4e1229084ae
rgw: set keys from from master zone on admin api user create

When users were being created via the admin_api
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