@@ -22,40 +22,13 @@ Configure the {+mcli+}
22
22
23
23
You can define the settings that the {+mcli+} uses to interact with
24
24
MongoDB services like |service|, |cloud-short|, and |onprem| by using
25
- the :ref:`mongocli-config` command. The first time you run this
26
- command, the {+mcli+} creates a :ref:`configuration file
27
- <mcli-config-file>` called ``mongocli.toml`` to store your settings.
28
-
29
- Prerequisites
30
- -------------
31
-
32
- To configure the {+mcli+}:
33
-
34
- - Add your |ipaddr| or |cidr| block to the |api| whitelist for your
35
- MongoDB service.
36
- - Generate a |svc-api-key| if you don't already have one.
37
-
38
- .. note::
39
-
40
- |svc-api-key|\s are role-based. Different roles have different
41
- privileges and capabilities, and some {+mcli+} commands are available
42
- to some roles but not others. Be sure that the roles assigned to
43
- your |svc-api-key| are appropriate for the commands you intend to
44
- use.
45
-
46
- To learn more about generating a |svc-api-key| for
47
- your MongoDB service, see the following documentation:
48
-
49
- - :atlas:`Atlas API Access </configure-api-access>`
50
- - :cloudmgr:`Cloud Manager API Access </tutorial/configure-public-api-access>`
51
- - :opsmgr:`Ops Manager API Acess </tutorial/configure-public-api-access>`
25
+ the :ref:`mongocli-auth-login` or :ref:`mongocli-config` commands.
26
+ The first time you run one of these commands, the {+mcli+} creates a :ref:`configuration file
27
+ <mcli-config-file>` called ``mongocli.toml`` to store your settings.
52
28
53
29
Procedure
54
30
---------
55
31
56
- The :ref:`mongocli-config` command varies slightly depending on the
57
- MongoDB service for which you want to configure the {+mcli+}.
58
-
59
32
.. tabs::
60
33
61
34
.. tab:: Atlas
0 commit comments