@@ -15,11 +15,7 @@ mongocli config set
1515The ``config set`` command sets the following
1616properties in the specified profile for {+mcli+}:
1717
18- - ``org_id`` - Unique identifier of an organization
19- - ``project_id`` - Unique identifier of a project
20- - ``public_api_key`` - Public key for programmatic access
21- - ``private_api_key`` - Private key for programmatic access
22- - ``ops_manager_url`` - |mms| base URL for |onprem| only
18+ .. include:: /includes/config-set-properties.rst
2319
2420You can set also set these properties by directly editing the
2521:ref:`mcli-config-file` or by setting the :ref:`environment
@@ -62,13 +58,7 @@ Options
6258 - Property to set in the profile. Value
6359 can be one of the following:
6460
65- - ``org_id`` - Unique identifier of the organization
66- - ``project_id`` - Unique identifier of the project
67- - ``public_api_key`` - Public key for programmatic
68- access
69- - ``private_api_key`` - Private key for programmatic
70- access
71- - ``ops_manager_url`` - |mms| base URL for |onprem| only
61+ .. include:: /includes/config-set-properties.rst
7262
7363 - yes
7464
@@ -81,6 +71,9 @@ Options
8171 - Public |api| key for ``public_api_key``
8272 - Private |api| key for ``private_api_key``
8373 - |mms| base URL for ``ops_manager_url``
74+ - Full path to the CA certificate for
75+ ``ops_manager_ca_certificate``
76+ - ``yes`` or ``no`` for ``ops_manager_skip_verify``
8477
8578 - yes
8679
@@ -104,7 +97,9 @@ where ``<property-name>`` can be:
10497- ``project_id``
10598- ``public_api_key``
10699- ``private_api_key``
107- - ``ops_manager_url``
100+ - ``ops_manager_url``
101+ - ``ops_manager_ca_certificate``
102+ - ``ops_manager_skip_verify``
108103
109104.. _config-set-examples:
110105
@@ -200,3 +195,43 @@ The previous command prints the following to the terminal:
200195 :copyable: false
201196
202197 Updated prop 'private_api_key'
198+
199+ Set Custom CA Certificate File
200+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201+
202+ The following example uses the ``mongocli config set`` command to
203+ set a custom CA certificate file for |onprem| in a profile named
204+ ``egOMprofile``.
205+
206+ .. code-block:: sh
207+ :copyable: false
208+
209+ mongocli config set ops_manager_ca_certificate /etc/ssl/certs/ca.pem -p egOMprofile
210+
211+ The previous command prints the following to the terminal:
212+
213+ .. code-block:: sh
214+ :copyable: false
215+
216+ Updated property 'ops_manager_ca_certificate'
217+
218+ Set Certificate Verification
219+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220+
221+ The following example uses the ``mongocli config set`` command to
222+ skip TLS certificate verification for |onprem| in a profile named
223+ ``egOMprofile``.
224+
225+ .. include:: /includes/admonitions/skip-verify-insecure.rst
226+
227+ .. code-block:: sh
228+ :copyable: false
229+
230+ mongocli config set ops_manager_skip_verify yes -p egOMprofile
231+
232+ The previous command prints the following to the terminal:
233+
234+ .. code-block:: sh
235+ :copyable: false
236+
237+ Updated property 'ops_manager_skip_verify'
0 commit comments