Printing Ceph user key

You can display a Ceph user’s key information using the command-line interface.

Prerequisites

  • A running IBM Storage Ceph cluster.
  • Root-level access to the node.

Procedure

  • Print a user’s authentication key to standard output:

    ceph auth print-key TYPE.ID

    Example

    [ceph: root@host01 /]# ceph auth print-key osd.6
    
    AQBQ7U5gAry3JRAA3NoPrqBBThpFMcRL6Sr+5w==[ceph: root@host01 /]#