File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Enable Authentication
4
4
5
5
.. default-domain:: mongodb
6
6
7
+ Overview
8
+ --------
9
+
7
10
Enable authentication using the :setting:`auth` or :setting:`keyFile`
8
11
settings. Use :setting:`auth` for standalone instances, and
9
12
:setting:`keyFile` with :term:`replica sets <replica set>` and
@@ -15,8 +18,6 @@ Authentication requires at least one administrator user in the
15
18
``admin`` database. You can create the user before enabling
16
19
authentication or after enabling authentication.
17
20
18
- .. seealso:: :doc:`/tutorial/control-access-to-mongodb-with-kerberos-authentication`.
19
-
20
21
Procedures
21
22
----------
22
23
@@ -49,7 +50,7 @@ Enable Authentication and then Create Administrator
49
50
:doc:`/tutorial/add-user-administrator`.
50
51
51
52
Query Authenticated Users
52
- -------------------------
53
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
53
54
54
55
If you have the :authrole:`userAdmin` or
55
56
:authrole:`userAdminAnyDatabase` role on a database, you can query
@@ -59,3 +60,8 @@ authenticated users in that database with the following operation:
59
60
60
61
db.system.users.find()
61
62
63
+ Further Reading
64
+ ---------------
65
+
66
+ - :doc:`/tutorial/control-access-to-mongodb-with-kerberos-authentication`.
67
+ - :doc:`/tutorial/configure-ldap-sasl-authentication`.
You can’t perform that action at this time.
0 commit comments