This file is indexed.

/lib/systemd/system/ceph-create-keys@.service is in ceph 10.1.2-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[Unit]
Description=Ceph cluster key creator task

# the last key created is the mds bootstrap key -- look for that.
ConditionPathExists=!/var/lib/ceph/bootstrap-mds/ceph.keyring

[Service]
EnvironmentFile=-/etc/default/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/sbin/ceph-create-keys --cluster ${CLUSTER} --id %i