]> git.proxmox.com Git - ceph.git/blame - ceph/doc/rados/deployment/ceph-deploy-keys.rst
update sources to v12.1.2
[ceph.git] / ceph / doc / rados / deployment / ceph-deploy-keys.rst
CommitLineData
7c673cae
FG
1=================
2 Keys Management
3=================
4
5
6Gather Keys
7===========
8
9Before you can provision a host to run OSDs or metadata servers, you must gather
10monitor keys and the OSD and MDS bootstrap keyrings. To gather keys, enter the
11following::
12
13 ceph-deploy gatherkeys {monitor-host}
14
15
16.. note:: To retrieve the keys, you specify a host that has a
17 Ceph monitor.
18
19.. note:: If you have specified multiple monitors in the setup of the cluster,
20 make sure, that all monitors are up and running. If the monitors haven't
c07f9fc5 21 formed quorum, ``ceph-create-keys`` will not finish and the keys are not
7c673cae
FG
22 generated.
23
24Forget Keys
25===========
26
27When you are no longer using ``ceph-deploy`` (or if you are recreating a
28cluster), you should delete the keys in the local directory of your admin host.
29To delete keys, enter the following::
30
31 ceph-deploy forgetkeys
32