5.2.6. ユーザーのキーの出力
ユーザーの認証キーを標準出力に出力するには、以下を実行します。
ceph auth print-key <TYPE>.<ID>
# ceph auth print-key <TYPE>.<ID>
ここで、<TYPE>
は client
、osd
、mon
、または mds
のいずれかで、<ID>
はユーザー名またはデーモンの ID になります。
ユーザーのキーを出力すると、クライアントソフトウェアにユーザーのキー (例] libvirt
) を設定する必要がある場合に便利です。
mount -t ceph <hostname>:/<mount_point> -o name=client.user,secret=`ceph auth print-key client.user`
# mount -t ceph <hostname>:/<mount_point> -o name=client.user,secret=`ceph auth print-key client.user`