]> git.proxmox.com Git - ceph.git/blame - ceph/doc/rados/operations/user-management.rst
update sources to v12.1.3
[ceph.git] / ceph / doc / rados / operations / user-management.rst
CommitLineData
7c673cae
FG
1=================
2 User Management
3=================
4
5This document describes :term:`Ceph Client` users, and their authentication and
6authorization with the :term:`Ceph Storage Cluster`. Users are either
7individuals or system actors such as applications, which use Ceph clients to
8interact with the Ceph Storage Cluster daemons.
9
10.. ditaa:: +-----+
11 | {o} |
12 | |
13 +--+--+ /---------\ /---------\
14 | | Ceph | | Ceph |
15 ---+---*----->| |<------------->| |
16 | uses | Clients | | Servers |
17 | \---------/ \---------/
18 /--+--\
19 | |
20 | |
21 actor
22
23
24When Ceph runs with authentication and authorization enabled (enabled by
25default), you must specify a user name and a keyring containing the secret key
26of the specified user (usually via the command line). If you do not specify a
27user name, Ceph will use ``client.admin`` as the default user name. If you do
28not specify a keyring, Ceph will look for a keyring via the ``keyring`` setting
29in the Ceph configuration. For example, if you execute the ``ceph health``
30command without specifying a user or keyring::
31
32 ceph health
33
34Ceph interprets the command like this::
35
36 ceph -n client.admin --keyring=/etc/ceph/ceph.client.admin.keyring health
37
38Alternatively, you may use the ``CEPH_ARGS`` environment variable to avoid
39re-entry of the user name and secret.
40
41For details on configuring the Ceph Storage Cluster to use authentication,
42see `Cephx Config Reference`_. For details on the architecture of Cephx, see
43`Architecture - High Availability Authentication`_.
44
45
46Background
47==========
48
49Irrespective of the type of Ceph client (e.g., Block Device, Object Storage,
50Filesystem, native API, etc.), Ceph stores all data as objects within `pools`_.
51Ceph users must have access to pools in order to read and write data.
52Additionally, Ceph users must have execute permissions to use Ceph's
53administrative commands. The following concepts will help you understand Ceph
54user management.
55
56
57User
58----
59
60A user is either an individual or a system actor such as an application.
61Creating users allows you to control who (or what) can access your Ceph Storage
62Cluster, its pools, and the data within pools.
63
64Ceph has the notion of a ``type`` of user. For the purposes of user management,
65the type will always be ``client``. Ceph identifies users in period (.)
66delimited form consisting of the user type and the user ID: for example,
67``TYPE.ID``, ``client.admin``, or ``client.user1``. The reason for user typing
68is that Ceph Monitors, OSDs, and Metadata Servers also use the Cephx protocol,
69but they are not clients. Distinguishing the user type helps to distinguish
70between client users and other users--streamlining access control, user
71monitoring and traceability.
72
73Sometimes Ceph's user type may seem confusing, because the Ceph command line
74allows you to specify a user with or without the type, depending upon your
75command line usage. If you specify ``--user`` or ``--id``, you can omit the
76type. So ``client.user1`` can be entered simply as ``user1``. If you specify
77``--name`` or ``-n``, you must specify the type and name, such as
78``client.user1``. We recommend using the type and name as a best practice
79wherever possible.
80
81.. note:: A Ceph Storage Cluster user is not the same as a Ceph Object Storage
82 user or a Ceph Filesystem user. The Ceph Object Gateway uses a Ceph Storage
83 Cluster user to communicate between the gateway daemon and the storage
84 cluster, but the gateway has its own user management functionality for end
85 users. The Ceph Filesystem uses POSIX semantics. The user space associated
86 with the Ceph Filesystem is not the same as a Ceph Storage Cluster user.
87
88
89
90Authorization (Capabilities)
91----------------------------
92
93Ceph uses the term "capabilities" (caps) to describe authorizing an
94authenticated user to exercise the functionality of the monitors, OSDs and
95metadata servers. Capabilities can also restrict access to data within a pool or
96a namespace within a pool. A Ceph administrative user sets a user's
97capabilities when creating or updating a user.
98
99Capability syntax follows the form::
100
c07f9fc5 101 {daemon-type} '{capspec}[, {capspec} ...]'
7c673cae 102
c07f9fc5
FG
103- **Monitor Caps:** Monitor capabilities include ``r``, ``w``, ``x`` access
104 settings or ``profile {name}``. For example::
7c673cae
FG
105
106 mon 'allow rwx'
c07f9fc5 107 mon 'profile osd'
7c673cae 108
c07f9fc5
FG
109- **OSD Caps:** OSD capabilities include ``r``, ``w``, ``x``, ``class-read``,
110 ``class-write`` access settings or ``profile {name}``. Additionally, OSD
111 capabilities also allow for pool and namespace settings. ::
7c673cae 112
c07f9fc5
FG
113 osd 'allow {access} [pool={pool-name} [namespace={namespace-name}]]'
114 osd 'profile {name} [pool={pool-name} [namespace={namespace-name}]]'
7c673cae 115
d2e6a577
FG
116- **Metadata Server Caps:** For administrators, use ``allow *``. For all
117 other users, such as CephFS clients, consult :doc:`/cephfs/client-auth`
7c673cae
FG
118
119
120.. note:: The Ceph Object Gateway daemon (``radosgw``) is a client of the
c07f9fc5 121 Ceph Storage Cluster, so it is not represented as a Ceph Storage
7c673cae
FG
122 Cluster daemon type.
123
124The following entries describe each capability.
125
126``allow``
127
128:Description: Precedes access settings for a daemon. Implies ``rw``
129 for MDS only.
130
131
132``r``
133
134:Description: Gives the user read access. Required with monitors to retrieve
135 the CRUSH map.
136
137
138``w``
139
140:Description: Gives the user write access to objects.
141
142
143``x``
144
145:Description: Gives the user the capability to call class methods
146 (i.e., both read and write) and to conduct ``auth``
147 operations on monitors.
148
149
150``class-read``
151
152:Descriptions: Gives the user the capability to call class read methods.
153 Subset of ``x``.
154
155
156``class-write``
157
158:Description: Gives the user the capability to call class write methods.
159 Subset of ``x``.
160
161
162``*``
163
164:Description: Gives the user read, write and execute permissions for a
165 particular daemon/pool, and the ability to execute
166 admin commands.
167
168
c07f9fc5 169``profile osd`` (Monitor only)
7c673cae
FG
170
171:Description: Gives a user permissions to connect as an OSD to other OSDs or
172 monitors. Conferred on OSDs to enable OSDs to handle replication
173 heartbeat traffic and status reporting.
174
175
c07f9fc5 176``profile mds`` (Monitor only)
7c673cae
FG
177
178:Description: Gives a user permissions to connect as a MDS to other MDSs or
179 monitors.
180
181
c07f9fc5 182``profile bootstrap-osd`` (Monitor only)
7c673cae
FG
183
184:Description: Gives a user permissions to bootstrap an OSD. Conferred on
185 deployment tools such as ``ceph-disk``, ``ceph-deploy``, etc.
186 so that they have permissions to add keys, etc. when
187 bootstrapping an OSD.
188
189
c07f9fc5 190``profile bootstrap-mds`` (Monitor only)
7c673cae
FG
191
192:Description: Gives a user permissions to bootstrap a metadata server.
193 Conferred on deployment tools such as ``ceph-deploy``, etc.
194 so they have permissions to add keys, etc. when bootstrapping
195 a metadata server.
196
c07f9fc5
FG
197``profile rbd`` (Monitor and OSD)
198
199:Description: Gives a user permissions to manipulate RBD images. When used
200 as a Monitor cap, it provides the minimal privileges required
201 by an RBD client application. When used as an OSD cap, it
202 provides read-write access to an RBD client application.
203
204``profile rbd-read-only`` (OSD only)
205
206:Description: Gives a user read-only permissions to an RBD image.
7c673cae
FG
207
208
209Pool
210----
211
212A pool is a logical partition where users store data.
213In Ceph deployments, it is common to create a pool as a logical partition for
214similar types of data. For example, when deploying Ceph as a backend for
215OpenStack, a typical deployment would have pools for volumes, images, backups
216and virtual machines, and users such as ``client.glance``, ``client.cinder``,
217etc.
218
219
220Namespace
221---------
222
223Objects within a pool can be associated to a namespace--a logical group of
224objects within the pool. A user's access to a pool can be associated with a
225namespace such that reads and writes by the user take place only within the
226namespace. Objects written to a namespace within the pool can only be accessed
227by users who have access to the namespace.
228
c07f9fc5
FG
229.. note:: Namespaces are primarily useful for applications written on top of
230 ``librados`` where the logical grouping can alleviate the need to create
231 different pools. Ceph Object Gateway (from ``luminous``) uses namespaces for various
232 metadata objects.
7c673cae
FG
233
234The rationale for namespaces is that pools can be a computationally expensive
235method of segregating data sets for the purposes of authorizing separate sets
236of users. For example, a pool should have ~100 placement groups per OSD. So an
237exemplary cluster with 1000 OSDs would have 100,000 placement groups for one
238pool. Each pool would create another 100,000 placement groups in the exemplary
239cluster. By contrast, writing an object to a namespace simply associates the
240namespace to the object name with out the computational overhead of a separate
241pool. Rather than creating a separate pool for a user or set of users, you may
242use a namespace. **Note:** Only available using ``librados`` at this time.
243
244
245Managing Users
246==============
247
248User management functionality provides Ceph Storage Cluster administrators with
249the ability to create, update and delete users directly in the Ceph Storage
250Cluster.
251
252When you create or delete users in the Ceph Storage Cluster, you may need to
253distribute keys to clients so that they can be added to keyrings. See `Keyring
254Management`_ for details.
255
256
257List Users
258----------
259
260To list the users in your cluster, execute the following::
261
c07f9fc5 262 ceph auth ls
7c673cae
FG
263
264Ceph will list out all users in your cluster. For example, in a two-node
c07f9fc5 265exemplary cluster, ``ceph auth ls`` will output something that looks like
7c673cae
FG
266this::
267
268 installed auth entries:
269
270 osd.0
271 key: AQCvCbtToC6MDhAATtuT70Sl+DymPCfDSsyV4w==
272 caps: [mon] allow profile osd
273 caps: [osd] allow *
274 osd.1
275 key: AQC4CbtTCFJBChAAVq5spj0ff4eHZICxIOVZeA==
276 caps: [mon] allow profile osd
277 caps: [osd] allow *
278 client.admin
279 key: AQBHCbtT6APDHhAA5W00cBchwkQjh3dkKsyPjw==
280 caps: [mds] allow
281 caps: [mon] allow *
282 caps: [osd] allow *
283 client.bootstrap-mds
284 key: AQBICbtTOK9uGBAAdbe5zcIGHZL3T/u2g6EBww==
285 caps: [mon] allow profile bootstrap-mds
286 client.bootstrap-osd
287 key: AQBHCbtT4GxqORAADE5u7RkpCN/oo4e5W0uBtw==
288 caps: [mon] allow profile bootstrap-osd
289
290
291Note that the ``TYPE.ID`` notation for users applies such that ``osd.0`` is a
292user of type ``osd`` and its ID is ``0``, ``client.admin`` is a user of type
293``client`` and its ID is ``admin`` (i.e., the default ``client.admin`` user).
294Note also that each entry has a ``key: <value>`` entry, and one or more
295``caps:`` entries.
296
c07f9fc5 297You may use the ``-o {filename}`` option with ``ceph auth ls`` to
7c673cae
FG
298save the output to a file.
299
300
301Get a User
302----------
303
304To retrieve a specific user, key and capabilities, execute the
305following::
306
307 ceph auth get {TYPE.ID}
308
309For example::
310
311 ceph auth get client.admin
312
313You may also use the ``-o {filename}`` option with ``ceph auth get`` to
314save the output to a file. Developers may also execute the following::
315
316 ceph auth export {TYPE.ID}
317
318The ``auth export`` command is identical to ``auth get``, but also prints
c07f9fc5 319out the internal ``auid``, which is not relevant to end users.
7c673cae
FG
320
321
322
323Add a User
324----------
325
326Adding a user creates a username (i.e., ``TYPE.ID``), a secret key and
327any capabilities included in the command you use to create the user.
328
329A user's key enables the user to authenticate with the Ceph Storage Cluster.
330The user's capabilities authorize the user to read, write, or execute on Ceph
331monitors (``mon``), Ceph OSDs (``osd``) or Ceph Metadata Servers (``mds``).
332
333There are a few ways to add a user:
334
335- ``ceph auth add``: This command is the canonical way to add a user. It
336 will create the user, generate a key and add any specified capabilities.
337
338- ``ceph auth get-or-create``: This command is often the most convenient way
339 to create a user, because it returns a keyfile format with the user name
340 (in brackets) and the key. If the user already exists, this command
341 simply returns the user name and key in the keyfile format. You may use the
342 ``-o {filename}`` option to save the output to a file.
343
344- ``ceph auth get-or-create-key``: This command is a convenient way to create
345 a user and return the user's key (only). This is useful for clients that
346 need the key only (e.g., libvirt). If the user already exists, this command
347 simply returns the key. You may use the ``-o {filename}`` option to save the
348 output to a file.
349
350When creating client users, you may create a user with no capabilities. A user
351with no capabilities is useless beyond mere authentication, because the client
352cannot retrieve the cluster map from the monitor. However, you can create a
353user with no capabilities if you wish to defer adding capabilities later using
354the ``ceph auth caps`` command.
355
356A typical user has at least read capabilities on the Ceph monitor and
357read and write capability on Ceph OSDs. Additionally, a user's OSD permissions
358are often restricted to accessing a particular pool. ::
359
360 ceph auth add client.john mon 'allow r' osd 'allow rw pool=liverpool'
361 ceph auth get-or-create client.paul mon 'allow r' osd 'allow rw pool=liverpool'
362 ceph auth get-or-create client.george mon 'allow r' osd 'allow rw pool=liverpool' -o george.keyring
363 ceph auth get-or-create-key client.ringo mon 'allow r' osd 'allow rw pool=liverpool' -o ringo.key
364
365
366.. important:: If you provide a user with capabilities to OSDs, but you DO NOT
367 restrict access to particular pools, the user will have access to ALL
368 pools in the cluster!
369
370
31f18b77 371.. _modify-user-capabilities:
224ce89b 372
7c673cae
FG
373Modify User Capabilities
374------------------------
375
376The ``ceph auth caps`` command allows you to specify a user and change the
377user's capabilities. Setting new capabilities will overwrite current capabilities.
378To view current capabilities run ``ceph auth get USERTYPE.USERID``. To add
379capabilities, you should also specify the existing capabilities when using the form::
380
381 ceph auth caps USERTYPE.USERID {daemon} 'allow [r|w|x|*|...] [pool={pool-name}] [namespace={namespace-name}]' [{daemon} 'allow [r|w|x|*|...] [pool={pool-name}] [namespace={namespace-name}]']
382
383For example::
384
385 ceph auth get client.john
386 ceph auth caps client.john mon 'allow r' osd 'allow rw pool=liverpool'
387 ceph auth caps client.paul mon 'allow rw' osd 'allow rwx pool=liverpool'
388 ceph auth caps client.brian-manager mon 'allow *' osd 'allow *'
389
390To remove a capability, you may reset the capability. If you want the user
391to have no access to a particular daemon that was previously set, specify
392an empty string. For example::
393
394 ceph auth caps client.ringo mon ' ' osd ' '
395
396See `Authorization (Capabilities)`_ for additional details on capabilities.
397
398
399Delete a User
400-------------
401
402To delete a user, use ``ceph auth del``::
403
404 ceph auth del {TYPE}.{ID}
405
406Where ``{TYPE}`` is one of ``client``, ``osd``, ``mon``, or ``mds``,
407and ``{ID}`` is the user name or ID of the daemon.
408
409
410Print a User's Key
411------------------
412
413To print a user's authentication key to standard output, execute the following::
414
415 ceph auth print-key {TYPE}.{ID}
416
417Where ``{TYPE}`` is one of ``client``, ``osd``, ``mon``, or ``mds``,
418and ``{ID}`` is the user name or ID of the daemon.
419
420Printing a user's key is useful when you need to populate client
421software with a user's key (e.g., libvirt). ::
422
423 mount -t ceph serverhost:/ mountpoint -o name=client.user,secret=`ceph auth print-key client.user`
424
425
426Import a User(s)
427----------------
428
429To import one or more users, use ``ceph auth import`` and
430specify a keyring::
431
432 ceph auth import -i /path/to/keyring
433
434For example::
435
436 sudo ceph auth import -i /etc/ceph/ceph.keyring
437
438
439.. note:: The ceph storage cluster will add new users, their keys and their
440 capabilities and will update existing users, their keys and their
441 capabilities.
442
443
444Keyring Management
445==================
446
447When you access Ceph via a Ceph client, the Ceph client will look for a local
448keyring. Ceph presets the ``keyring`` setting with the following four keyring
449names by default so you don't have to set them in your Ceph configuration file
450unless you want to override the defaults (not recommended):
451
452- ``/etc/ceph/$cluster.$name.keyring``
453- ``/etc/ceph/$cluster.keyring``
454- ``/etc/ceph/keyring``
455- ``/etc/ceph/keyring.bin``
456
457The ``$cluster`` metavariable is your Ceph cluster name as defined by the
458name of the Ceph configuration file (i.e., ``ceph.conf`` means the cluster name
459is ``ceph``; thus, ``ceph.keyring``). The ``$name`` metavariable is the user
460type and user ID (e.g., ``client.admin``; thus, ``ceph.client.admin.keyring``).
461
462.. note:: When executing commands that read or write to ``/etc/ceph``, you may
463 need to use ``sudo`` to execute the command as ``root``.
464
465After you create a user (e.g., ``client.ringo``), you must get the key and add
466it to a keyring on a Ceph client so that the user can access the Ceph Storage
467Cluster.
468
469The `User Management`_ section details how to list, get, add, modify and delete
470users directly in the Ceph Storage Cluster. However, Ceph also provides the
471``ceph-authtool`` utility to allow you to manage keyrings from a Ceph client.
472
473
474Create a Keyring
475----------------
476
477When you use the procedures in the `Managing Users`_ section to create users,
478you need to provide user keys to the Ceph client(s) so that the Ceph client
479can retrieve the key for the specified user and authenticate with the Ceph
480Storage Cluster. Ceph Clients access keyrings to lookup a user name and
481retrieve the user's key.
482
483The ``ceph-authtool`` utility allows you to create a keyring. To create an
484empty keyring, use ``--create-keyring`` or ``-C``. For example::
485
486 ceph-authtool --create-keyring /path/to/keyring
487
488When creating a keyring with multiple users, we recommend using the cluster name
489(e.g., ``$cluster.keyring``) for the keyring filename and saving it in the
490``/etc/ceph`` directory so that the ``keyring`` configuration default setting
491will pick up the filename without requiring you to specify it in the local copy
492of your Ceph configuration file. For example, create ``ceph.keyring`` by
493executing the following::
494
495 sudo ceph-authtool -C /etc/ceph/ceph.keyring
496
497When creating a keyring with a single user, we recommend using the cluster name,
498the user type and the user name and saving it in the ``/etc/ceph`` directory.
499For example, ``ceph.client.admin.keyring`` for the ``client.admin`` user.
500
501To create a keyring in ``/etc/ceph``, you must do so as ``root``. This means
502the file will have ``rw`` permissions for the ``root`` user only, which is
503appropriate when the keyring contains administrator keys. However, if you
504intend to use the keyring for a particular user or group of users, ensure
505that you execute ``chown`` or ``chmod`` to establish appropriate keyring
506ownership and access.
507
508
509Add a User to a Keyring
510-----------------------
511
512When you `Add a User`_ to the Ceph Storage Cluster, you can use the `Get a
513User`_ procedure to retrieve a user, key and capabilities and save the user to a
514keyring.
515
516When you only want to use one user per keyring, the `Get a User`_ procedure with
517the ``-o`` option will save the output in the keyring file format. For example,
518to create a keyring for the ``client.admin`` user, execute the following::
519
520 sudo ceph auth get client.admin -o /etc/ceph/ceph.client.admin.keyring
521
522Notice that we use the recommended file format for an individual user.
523
524When you want to import users to a keyring, you can use ``ceph-authtool``
525to specify the destination keyring and the source keyring.
526For example::
527
528 sudo ceph-authtool /etc/ceph/ceph.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring
529
530
531Create a User
532-------------
533
534Ceph provides the `Add a User`_ function to create a user directly in the Ceph
535Storage Cluster. However, you can also create a user, keys and capabilities
536directly on a Ceph client keyring. Then, you can import the user to the Ceph
537Storage Cluster. For example::
538
539 sudo ceph-authtool -n client.ringo --cap osd 'allow rwx' --cap mon 'allow rwx' /etc/ceph/ceph.keyring
540
541See `Authorization (Capabilities)`_ for additional details on capabilities.
542
543You can also create a keyring and add a new user to the keyring simultaneously.
544For example::
545
546 sudo ceph-authtool -C /etc/ceph/ceph.keyring -n client.ringo --cap osd 'allow rwx' --cap mon 'allow rwx' --gen-key
547
548In the foregoing scenarios, the new user ``client.ringo`` is only in the
549keyring. To add the new user to the Ceph Storage Cluster, you must still add
550the new user to the Ceph Storage Cluster. ::
551
552 sudo ceph auth add client.ringo -i /etc/ceph/ceph.keyring
553
554
555Modify a User
556-------------
557
558To modify the capabilities of a user record in a keyring, specify the keyring,
559and the user followed by the capabilities. For example::
560
561 sudo ceph-authtool /etc/ceph/ceph.keyring -n client.ringo --cap osd 'allow rwx' --cap mon 'allow rwx'
562
563To update the user to the Ceph Storage Cluster, you must update the user
564in the keyring to the user entry in the the Ceph Storage Cluster. ::
565
566 sudo ceph auth import -i /etc/ceph/ceph.keyring
567
568See `Import a User(s)`_ for details on updating a Ceph Storage Cluster user
569from a keyring.
570
571You may also `Modify User Capabilities`_ directly in the cluster, store the
572results to a keyring file; then, import the keyring into your main
573``ceph.keyring`` file.
574
575
576Command Line Usage
577==================
578
579Ceph supports the following usage for user name and secret:
580
581``--id`` | ``--user``
582
583:Description: Ceph identifies users with a type and an ID (e.g., ``TYPE.ID`` or
584 ``client.admin``, ``client.user1``). The ``id``, ``name`` and
585 ``-n`` options enable you to specify the ID portion of the user
586 name (e.g., ``admin``, ``user1``, ``foo``, etc.). You can specify
587 the user with the ``--id`` and omit the type. For example,
588 to specify user ``client.foo`` enter the following::
589
590 ceph --id foo --keyring /path/to/keyring health
591 ceph --user foo --keyring /path/to/keyring health
592
593
594``--name`` | ``-n``
595
596:Description: Ceph identifies users with a type and an ID (e.g., ``TYPE.ID`` or
597 ``client.admin``, ``client.user1``). The ``--name`` and ``-n``
598 options enables you to specify the fully qualified user name.
599 You must specify the user type (typically ``client``) with the
600 user ID. For example::
601
602 ceph --name client.foo --keyring /path/to/keyring health
603 ceph -n client.foo --keyring /path/to/keyring health
604
605
606``--keyring``
607
608:Description: The path to the keyring containing one or more user name and
609 secret. The ``--secret`` option provides the same functionality,
610 but it does not work with Ceph RADOS Gateway, which uses
611 ``--secret`` for another purpose. You may retrieve a keyring with
612 ``ceph auth get-or-create`` and store it locally. This is a
613 preferred approach, because you can switch user names without
614 switching the keyring path. For example::
615
616 sudo rbd map --id foo --keyring /path/to/keyring mypool/myimage
617
618
619.. _pools: ../pools
620
621
622Limitations
623===========
624
625The ``cephx`` protocol authenticates Ceph clients and servers to each other. It
626is not intended to handle authentication of human users or application programs
627run on their behalf. If that effect is required to handle your access control
628needs, you must have another mechanism, which is likely to be specific to the
629front end used to access the Ceph object store. This other mechanism has the
630role of ensuring that only acceptable users and programs are able to run on the
631machine that Ceph will permit to access its object store.
632
633The keys used to authenticate Ceph clients and servers are typically stored in
634a plain text file with appropriate permissions in a trusted host.
635
636.. important:: Storing keys in plaintext files has security shortcomings, but
637 they are difficult to avoid, given the basic authentication methods Ceph
638 uses in the background. Those setting up Ceph systems should be aware of
639 these shortcomings.
640
641In particular, arbitrary user machines, especially portable machines, should not
642be configured to interact directly with Ceph, since that mode of use would
643require the storage of a plaintext authentication key on an insecure machine.
644Anyone who stole that machine or obtained surreptitious access to it could
645obtain the key that will allow them to authenticate their own machines to Ceph.
646
647Rather than permitting potentially insecure machines to access a Ceph object
648store directly, users should be required to sign in to a trusted machine in
649your environment using a method that provides sufficient security for your
650purposes. That trusted machine will store the plaintext Ceph keys for the
651human users. A future version of Ceph may address these particular
652authentication issues more fully.
653
654At the moment, none of the Ceph authentication protocols provide secrecy for
655messages in transit. Thus, an eavesdropper on the wire can hear and understand
656all data sent between clients and servers in Ceph, even if it cannot create or
657alter them. Further, Ceph does not include options to encrypt user data in the
658object store. Users can hand-encrypt and store their own data in the Ceph
659object store, of course, but Ceph provides no features to perform object
660encryption itself. Those storing sensitive data in Ceph should consider
661encrypting their data before providing it to the Ceph system.
662
663
664.. _Architecture - High Availability Authentication: ../../../architecture#high-availability-authentication
665.. _Cephx Config Reference: ../../configuration/auth-config-ref