./ceph auth get-or-create client.foo mon 'allow r' mds 'allow r, allow rw path=/bar' osd 'allow rw pool=data'
+See `User Management - Add a User to a Keyring`_. for additional details on user management
To restrict a client to the specfied sub-directory only, we mention the specified
directory while mounting following the undermentioned syntax. ::
caps: [mon] allow r
caps: [osd] allow rw pool=data
+
+.. _User Management - Add a User to a Keyring: ../rados/operations/user-management/#add-a-user-to-a-keyring