]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/AuthMonitor: add `ceph auth rotate` command
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 18 Jun 2024 17:31:14 +0000 (13:31 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 26 Nov 2024 15:21:33 +0000 (10:21 -0500)
commit68965645e744c8db096ba9c990e52578a85fc3e3
tree42f196b7150d0d38d52600c6c593272a8e4abfed
parent76ffe533054da8956df1bb1f7ce6fef419f44fbf
mon/AuthMonitor: add `ceph auth rotate` command

Add command to rotate the permanent key of an entity. This avoids the need to
delete / recreate the key when it is compromised, lost, or just scheduled for
rotation.

Fixes: https://tracker.ceph.com/issues/66509
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d57326fce6d78e4b92e318ce933ca39bf8e8fcc4)

Conflicts:
    src/mon/AuthMonitor.cc: _encode_auth not in reef
src/mon/AuthMonitor.cc
src/mon/MonCommands.h