Closed jahschwa closed 3 years ago
Although this is undocumented, it does exist in the code:
https://github.com/ceph/ceph/blob/v15.2.8/src/rgw/rgw_rest_user.cc#L70
And worked on my ceph cluster.
I'll note in my testing access_key overrode uid, which feels unintuitive to me, so personally I think it makes sense to prevent the user from passing both. Passing neither will return a 400 Invalid Argument from ceph.
access_key
uid
400 Invalid Argument
Although this is undocumented, it does exist in the code:
https://github.com/ceph/ceph/blob/v15.2.8/src/rgw/rgw_rest_user.cc#L70
And worked on my ceph cluster.
I'll note in my testing
access_key
overrodeuid
, which feels unintuitive to me, so personally I think it makes sense to prevent the user from passing both. Passing neither will return a400 Invalid Argument
from ceph.