]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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, 18 Mar 2025 14:38:57 +0000 (10:38 -0400)
commitf7b279bf23caf2d45927cf17f18090b0e26fc9b8
tree81a1ecec98aee20bc88a4afe84b18fc630a78bab
parentd86f9b5b4757520a3f0bab308321c793526d8307
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)
src/mon/AuthMonitor.cc
src/mon/MonCommands.h