]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Mon, 12 Sep 2022 17:03:32 +0000 (17:03 +0000)
Signed-off-by: Sage Weil <sage@newdream.net>
doc/cephadm/operations.rst

index 4d6f033f24c7308fbca33c06dbda0f8f2ecf4514..5d8fdaca840fb349baea18e6c8bc2333cb29abdc 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
 ================