]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm/operations: document 'ceph orch daemon rotate-key'
authorSage Weil <sage@newdream.net>
Tue, 2 Nov 2021 14:24:06 +0000 (10:24 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Sep 2022 16:15:58 +0000 (16:15 +0000)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 772e4265bda8668fe24b9aabb9ad29d3d0baf7bd)

doc/cephadm/operations.rst

index a342ce983adfbb5537a65d83c1d995c3f06cd42d..adc795d21e4e617805c2fd7675f4b8788f89aa37 100644 (file)
@@ -87,6 +87,21 @@ file but will not trigger a restart of the daemon.
    ceph orch daemon reconfig <name>
 
 
+Rotating a daemon's authenticate key
+------------------------------------
+
+All Ceph and gateway daemons in the cluster have a secret key that is used to connect
+to and authenticate with the cluster.  This key can be rotated (i.e., replaced with a
+new key) with the following command:
+
+.. prompt:: bash #
+
+   ceph orch daemon rotate-key <name>
+
+For MDS, OSD, and MGR daemons, this does not require a daemon restart.  For other
+daemons, however (e.g., RGW), the daemon may be restarted to switch to the new key.
+
+
 Ceph daemon logs
 ================