Exporting user capabilities

Export the roles of the users or clients from the dashboard to a the local host.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.

  • Dashboard is installed.

  • Admin-level access to the dashboard.

About this task

For details on different user capabilities, see User capabilities and Access capabilities.

Procedure

  1. From the dashboard navigation, go to Administration > Ceph Users.
  2. Select the user whose roles you want to export.
  3. Select Export from the action drop-down.
  4. From the Ceph user export data dialog, click Copy to Clipboard.
    A notification displays that the keys are successfully copied.
  5. Click Close.
  6. On your local system, create a keyring file and paste the keys.
    [localhost:~]$ cat exported.keyring
    
    [client.test11]
            key = AQD9S29kmjgJFxAAkvhFar6Af3AWKDY2DsULRg==
            caps mds = "allow *"
            caps mgr = "allow *"
            caps mon = "allow *"
            caps osd = "allow r"