see `Cephx Config Reference`_. For details on the architecture of Cephx, see
`Architecture - High Availability Authentication`_.
-
Background
==========
administrative commands. The following concepts will help you understand Ceph
user management.
-
User
----
cap supports optional ``pool`` and ``namespace`` keyword
arguments.
+``profile simple-rados-client`` (Monitor only)
+
+:Description: Gives a user read-only permissions for monitor, OSD, and PG data.
+ Intended for use by direct librados client applications.
+
+``profile fs-client`` (Monitor only)
+
+:Description: Gives a user read-only permissions for monitor, OSD, PG, and MDS
+ data. Intended for CephFS clients.
+
+``profile role-definer`` (Monitor and Auth)
+
+:Description: Gives a user **all** permissions for the auth subsystem, read-only
+ access to monitors, and nothing else. Useful for automation
+ tools. Do not assign this unless you really, **really** know what
+ you're doing as the security ramifications are substantial and
+ pervasive.
+
+``profile crash`` (Monitor only)
+
+:Description: Gives a user read-only access to monitors, used in conjunction
+ with the manager ``crash`` module when collecting daemon crash
+ dumps for later analysis.
Pool
----
of the specified namespace is ``*``, then access is granted to any namespace
starting with the provided argument.
-
Managing Users
==============
distribute keys to clients so that they can be added to keyrings. See `Keyring
Management`_ for details.
-
List Users
----------
The ``auth export`` command is identical to ``auth get``.
-
-
Add a User
----------
See `Authorization (Capabilities)`_ for additional details on capabilities.
-
Delete a User
-------------
mount -t ceph serverhost:/ mountpoint -o name=client.user,secret=`ceph auth print-key client.user`
-
Import a User(s)
----------------
sudo ceph auth import -i /etc/ceph/ceph.keyring
-.. note:: The ceph storage cluster will add new users, their keys and their
+.. note:: The Ceph storage cluster will add new users, their keys and their
capabilities and will update existing users, their keys and their
capabilities.
-
Keyring Management
==================
users directly in the Ceph Storage Cluster. However, Ceph also provides the
``ceph-authtool`` utility to allow you to manage keyrings from a Ceph client.
-
Create a Keyring
----------------
that you execute ``chown`` or ``chmod`` to establish appropriate keyring
ownership and access.
-
Add a User to a Keyring
-----------------------
sudo ceph-authtool /etc/ceph/ceph.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring
-
Create a User
-------------
sudo ceph auth add client.ringo -i /etc/ceph/ceph.keyring
-
Modify a User
-------------
results to a keyring file; then, import the keyring into your main
``ceph.keyring`` file.
-
Command Line Usage
==================
.. _pools: ../pools
-
Limitations
===========