Skip to content

Commit 6ace498

Browse files
committed
DOCSP-17572 mongosh options pass 3
1 parent 0b8fed8 commit 6ace498

17 files changed

+25
-25
lines changed

source/core/security-ldap-external.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ When using LDAP for authorization, users connecting via
423423

424424
- set :option:`--password <mongosh --password>` to the appropriate password.
425425

426-
Include the :option:`--host <mongo --host>` and :option:`--port <mongosh --port>` of the MongoDB server,
426+
Include the :option:`--host <mongosh --host>` and :option:`--port <mongosh --port>` of the MongoDB server,
427427
along with any other options relevant to your deployment.
428428

429429
For example, the following operation authenticates to a MongoDB server running

source/core/security-x.509.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@ To connect and authenticate using x.509 client certificate:
6666
- For MongoDB 4.2 or greater, include the following options for the client:
6767

6868
- :option:`--tls <mongosh --tls>` (or the deprecated :option:`--ssl
69-
<mongo --ssl>` option)
69+
<mongosh --ssl>` option)
7070

7171
- :option:`--tlsCertificateKeyFile <mongosh --tlsCertificateKeyFile>`
7272
(or the deprecated :option:`--sslPEMKeyFile
73-
<mongo --sslPEMKeyFile>` option)
73+
<mongosh --sslPEMKeyFile>` option)
7474

7575
- :option:`--tlsCertificateKeyFilePassword <mongosh --tlsCertificateKeyFile>`
7676
(or the deprecated :option:`--sslPEMKeyPassword
77-
<mongo --sslPEMKeyPassword>` option) if the certificate key file is encrypted
77+
<mongosh --sslPEMKeyPassword>` option) if the certificate key file is encrypted
7878

7979
- :option:`--authenticationDatabase '$external'
80-
<mongo --authenticationDatabase>`
80+
<mongosh --authenticationDatabase>`
8181

8282
- :option:`--authenticationMechanism MONGODB-X509
83-
<mongo --authenticationMechanism>`
83+
<mongosh --authenticationMechanism>`
8484

8585
- For MongoDB 4.0 and earlier, include the following options for the client:
8686

@@ -92,7 +92,7 @@ To connect and authenticate using x.509 client certificate:
9292
the ``--sslPEMKeyFile`` is encrypted.
9393

9494
- :option:`--authenticationDatabase '$external'
95-
<mongo --authenticationDatabase>`
95+
<mongosh --authenticationDatabase>`
9696

9797
- :option:`--authenticationMechanism MONGODB-X509 <mongosh --authenticationMechanism>`
9898

source/includes/steps-authenticate-as-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ action:
55
pre: |
66
When using :binary:`~bin.mongosh` to connect to a :binary:`~bin.mongod` or
77
:binary:`~bin.mongos`, enter your ``username``, ``password``, and
8-
:option:`authenticationDatabase <mongo --authenticationDatabase>`. For
8+
:option:`authenticationDatabase <mongosh --authenticationDatabase>`. For
99
example:
1010
language: javascript
1111
code: |

source/includes/steps-change-own-password-and-custom-data-prereq.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ action:
1111
code: |
1212
mongosh --port 27017 -u myUserAdmin -p --authenticationDatabase 'admin'
1313
post: |
14-
If you do not specify the password to the :option:`-p <mongo -p>`
14+
If you do not specify the password to the :option:`-p <mongosh -p>`
1515
command-line option, :binary:`~bin.mongosh` prompts for the
1616
password.
1717
---

source/includes/steps-change-own-password-and-custom-data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ action:
1414
mongosh --port 27017 -u user123 --authenticationDatabase 'test' -p
1515
post: |
1616
17-
If you do not specify the password to the :option:`-p <mongo -p>`
17+
If you do not specify the password to the :option:`-p <mongosh -p>`
1818
command-line option, :binary:`~bin.mongosh` prompts for the
1919
password.
2020

source/includes/steps-create-admin-then-enable-authentication.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ content: |
126126
name: Authenticate during Connection
127127
content: |
128128
Start :binary:`~bin.mongosh` with the :option:`-u
129-
\<username\> <mongo -u>`, :option:`-p <mongo -p>`, and the
129+
\<username\> <mongosh -u>`, :option:`-p <mongosh -p>`, and the
130130
:option:`--authenticationDatabase \<database\> <mongo
131131
--authenticationDatabase>` command line options:
132132
@@ -231,7 +231,7 @@ content: |
231231
name: Authenticate during Connection
232232
content: |
233233
Start :binary:`~bin.mongosh` with the :option:`-u
234-
\<username\> <mongo --username>`, :option:`-p <mongo -p>`, and the
234+
\<username\> <mongosh --username>`, :option:`-p <mongosh -p>`, and the
235235
:option:`--authenticationDatabase \<database\> <mongo
236236
--authenticationDatabase>` command line options:
237237

source/includes/steps-csfle-shell-aws-create-key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ content: |
2020
- ``AWS_SECRET_ACCESS_KEY``
2121
2222
Next, create :binary:`~bin.mongosh` session using the
23-
:option:`--eval <mongo --eval>`, :option:`--shell <mongosh --shell>`,
23+
:option:`--eval <mongosh --eval>`, :option:`--shell <mongosh --shell>`,
2424
and :option:`--nodb <mongosh --nodb>` options:
2525
2626
.. code-block:: bash

source/includes/steps-csfle-shell-azure-create-key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ content: |
1919
- ``AZURE_CLIENT_SECRET``
2020
2121
Next, create a :binary:`~bin.mongosh` session using the
22-
:option:`--eval <mongo --eval>`, :option:`--shell <mongosh --shell>`,
22+
:option:`--eval <mongosh --eval>`, :option:`--shell <mongosh --shell>`,
2323
and :option:`--nodb <mongosh --nodb>` options:
2424
2525
.. code-block:: bash

source/includes/steps-csfle-shell-gcp-create-key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ content: |
1818
- ``GCP_PRIVATEKEY``
1919
2020
Next, create a :binary:`~bin.mongosh` session using the
21-
:option:`--eval <mongo --eval>`, :option:`--shell <mongosh --shell>`,
21+
:option:`--eval <mongosh --eval>`, :option:`--shell <mongosh --shell>`,
2222
and :option:`--nodb <mongosh --nodb>` options:
2323
2424
.. code-block:: bash

source/includes/steps-csfle-shell-local-create-key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ level: 4
3838
content: |
3939
4040
Create a :binary:`~bin.mongosh` session using the :option:`--eval
41-
<mongo --eval>`, :option:`--shell <mongosh --shell>`, and
41+
<mongosh --eval>`, :option:`--shell <mongosh --shell>`, and
4242
:option:`--nodb <mongosh --nodb>` options:
4343
4444
.. code-block:: bash

0 commit comments

Comments
 (0)