Skip to content

Commit 1d3c1b7

Browse files
DOCSP-13167 fixes for trailing slash in URL and broken OM constant (#313)
* DOCSP-13167 fixes for trailing slash in URL and broken OM constant * DOCSP-13167 updates for copy review feedback * DOCSP-13167 updates for review feedback
1 parent e411be8 commit 1d3c1b7

File tree

3 files changed

+38
-17
lines changed

3 files changed

+38
-17
lines changed

source/configure/environment-variables.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ The {+mcli+} supports the following environment variables:
5656
option.
5757

5858
* - ``MCLI_OPS_MANAGER_URL``
59-
- For |onprem| only, sets the base |url| for |api| calls.
59+
- For |onprem| only, sets the base |url| for |api| calls. The
60+
|url| must end with a forward slash (i.e. ``/``).
6061

6162
* - ``MCLI_SERVICE``
6263
- Sets the MongoDB service type. Valid values are:
Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
1-
- ``org_id`` - Unique identifier of an organization.
2-
- ``project_id`` - Unique identifier of a project.
3-
- ``public_api_key`` - Public key for programmatic access.
4-
- ``private_api_key`` - Private key for programmatic access.
5-
- ``ops_manager_url`` - **|onprem| only** |mms| base URL.
6-
- ``ops_manager_ca_certificate`` - **|onprem| only**
7-
If applicable, the full path on your local system to the PEM-encoded
8-
Certificate Authority (CA) certificate used to sign the client and
9-
|onprem| TLS certificates.
10-
- ``ops_manager_skip_verify`` - **|onprem| only** When set to ``yes``,
11-
the ``ops_manager_ca_certificate`` TLS certificate is not verified.
12-
This prevents your connections from being rejected due to an invalid
13-
certificate.
14-
15-
.. include:: /includes/admonitions/skip-verify-insecure.rst
1+
.. list-table::
2+
:header-rows: 1
3+
:widths: 30 70
4+
5+
* - Property
6+
- Description
7+
8+
* - ``org_id``
9+
- Unique identifier of an organization.
10+
11+
* - ``project_id``
12+
- Unique identifier of a project.
13+
14+
* - ``public_api_key``
15+
- Public key for programmatic access.
16+
17+
* - ``private_api_key``
18+
- Private key for programmatic access.
19+
20+
* - ``ops_manager_url``
21+
- **Ops Manager only.** |mms| base URL. The |url| must end with a
22+
forward slash (i.e. ``/``).
23+
24+
* - ``ops_manager_ca_certificate``
25+
- **Ops Manager only.** If applicable, the full path on your local
26+
system to the PEM-encoded Certificate Authority (CA) certificate
27+
used to sign the client and |onprem| TLS certificates.
28+
29+
* - ``ops_manager_skip_verify``
30+
- **Ops Manager only.** When set to ``yes``, the
31+
``ops_manager_ca_certificate`` TLS certificate is not verified.
32+
This prevents your connections from being rejected due to an
33+
invalid certificate.
34+
35+
.. include:: /includes/admonitions/skip-verify-insecure.rst

source/reference/mcli-config-set.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to set the |mms| base URL in a profile named ``egOMprofile``.
117117

118118
.. code-block:: sh
119119

120-
mongocli config set ops_manager_url http://localhost:30700 -P egOMprofile
120+
mongocli config set ops_manager_url http://localhost:30700/ -P egOMprofile
121121

122122
The previous command prints the following to the terminal:
123123

0 commit comments

Comments
 (0)