You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/fundamentals/auth.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -393,7 +393,7 @@ variables for the following types of authentication:
393
393
- ECS container credentials
394
394
- EC2 container credentials
395
395
396
-
The following examples shows how you can set your **programmatic access keys**
396
+
The following example shows how you can set your **programmatic access keys**
397
397
in environment variables by using ``bash`` or a similar shell:
398
398
399
399
.. code-block:: bash
@@ -423,7 +423,7 @@ Specify Your Credentials in a MongoCredential
423
423
+++++++++++++++++++++++++++++++++++++++++++++
424
424
425
425
You can supply your AWS IAM credentials to a ``MongoClient`` by using a
426
-
a ``MongoCredential`` instance. To construct the ``MongoCredential`` instance
426
+
``MongoCredential`` instance. To construct the ``MongoCredential`` instance
427
427
for ``MONGODB-AWS`` authentication, use the `createAwsCredential() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createAwsCredential(java.lang.String,char%5B%5D)>`__
428
428
factory method.
429
429
@@ -432,7 +432,7 @@ You can supply only programmatic access keys to the
432
432
or EC2 container credentials, use the instructions in
433
433
:ref:`<java-mongodb-aws-env-variables>` or :ref:`<java-mongodb-aws-sdk>`.
434
434
435
-
To use the the ``MongoCredential`` for ``MONGODB-AWS`` authentication, you
435
+
To use the ``MongoCredential`` for ``MONGODB-AWS`` authentication, you
0 commit comments