11ref : csfle-requires-enabling-encryption
22content : |
33
4- The ``mongo` ` client-side field level encryption methods
4+ The :binary:`~bin.mongosh ` client-side field level encryption methods
55 require a database connection with client-side field level encryption
66 enabled. If the current database connection was not initiated with
77 client-side field level encryption enabled, either:
88
9- - Use the :method:`Mongo()` constructor from the ``mongo` `
10- shell to establish a connection with the required client-side field
9+ - Use the :method:`Mongo()` constructor from the :binary:`~bin.mongosh `
10+ to establish a connection with the required client-side field
1111 level encryption options. The :method:`Mongo()` method supports the
1212 following Key Management Service (KMS) providers for Customer
1313 Master Key (CMK) management:
@@ -19,7 +19,8 @@ content: |
1919
2020 *or*
2121
22- - Use the ``mongo`` shell command line options to establish a
22+ - Use the :binary:`~bin.mongosh` :ref:`command line options
23+ <mongosh-client-side-field-level-encryption-options>` to establish a
2324 connection with the required options. The command line options only
2425 support the :ref:`Amazon Web Services KMS
2526 <field-level-encryption-aws-kms>` provider for CMK management.
@@ -49,10 +50,10 @@ content: |
4950
5051 To mitigate the risk of the AWS Access Key or AWS Secret Key leaking
5152 into logs, consider specifying an environment variable containing the
52- required values as part of the ``mongo` ` startup. For
53+ required values as part of the :binary:`~bin.mongosh ` startup. For
5354 example, the following operation loads the ``AWS_ACCESS_KEY_ID`` and
5455 ``AWS_SECRET_ACCESS_KEY`` environment variables into local variables
55- in the ``mongo`` shell :
56+ in :binary:`~bin.mongosh` :
5657
5758 .. code-block:: bash
5859
@@ -74,7 +75,7 @@ content: |
7475 managed key requires specifying a base64-encoded 96-byte
7576 string with no line breaks. The following operation generates
7677 a key that meets the stated requirements and loads it into
77- the ``mongo`` shell :
78+ :binary:`~bin.mongosh` :
7879
7980 .. code-block:: bash
8081 :emphasize-lines: 1
0 commit comments