Skip to content

Commit 230ac6d

Browse files
DOCSP-21562 FLE Automatic AWS credentials (#2572)
* Adding note for automatic credentials * update ref link * update wording * feedback * Mike feedback * update note to link to Java docs
1 parent 030671c commit 230ac6d

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

source/includes/queryable-encryption/tutorials/automatic/aws/client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
Specify the ``aws`` KMS provider and your {+aws-iam-abbr+} user
6868
credentials:
6969

70-
.. include:: /includes/queryable-encryption/tutorials/automatic/aws/iam-credentials-note.rst
71-
7270
.. tabs-drivers::
7371

7472
.. tab::
@@ -107,6 +105,8 @@
107105
:language: java
108106
:dedent:
109107

108+
.. include:: /includes/tutorials/automatic/aws/obtain-automatic-credentials.rst
109+
110110
.. tab::
111111
:tabid: go
112112

source/includes/queryable-encryption/tutorials/automatic/aws/dek.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
.. include:: /includes/queryable-encryption/tab-note.rst
1010

11-
.. include:: /includes/queryable-encryption/tutorials/automatic/aws/iam-credentials-note.rst
12-
1311
.. tabs-drivers::
1412

1513
.. tab::
@@ -48,6 +46,8 @@
4846
:language: java
4947
:dedent:
5048

49+
.. include:: /includes/tutorials/automatic/aws/obtain-automatic-credentials.rst
50+
5151
.. tab::
5252
:tabid: go
5353

@@ -66,11 +66,6 @@
6666
:language: csharp
6767
:dedent:
6868

69-
.. tip:: Learn More
70-
71-
To learn more about the KMS provider object for AWS, see
72-
:ref:`qe-reference-kms-providers-aws`.
73-
7469
.. step:: Add Your Key Information
7570

7671
Update the following code to specify your {+cmk-long+}:

source/includes/tutorials/automatic/aws/client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
Specify the ``aws`` KMS provider and your {+aws-iam-abbr+} user
5959
credentials:
6060

61-
.. include:: /includes/tutorials/automatic/aws/iam-credentials-note.rst
62-
6361
.. tabs-drivers::
6462

6563
.. tab::
@@ -71,6 +69,8 @@
7169
:language: java
7270
:dedent:
7371

72+
.. include:: /includes/tutorials/automatic/aws/obtain-automatic-credentials.rst
73+
7474
.. tab::
7575
:tabid: nodejs
7676

source/includes/tutorials/automatic/aws/dek.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
Add the service account credentials to your CSFLE-enabled client
77
code.
88

9-
.. include:: /includes/tutorials/automatic/aws/iam-credentials-note.rst
10-
119
.. tabs-drivers::
1210

1311
.. tab::
@@ -19,6 +17,8 @@
1917
:language: java
2018
:dedent:
2119

20+
.. include:: /includes/tutorials/automatic/aws/obtain-automatic-credentials.rst
21+
2222
.. tab::
2323
:tabid: nodejs
2424

@@ -55,11 +55,6 @@
5555
:language: go
5656
:dedent:
5757

58-
.. tip:: Learn More
59-
60-
To learn more about the KMS provider object for AWS, see
61-
:ref:`csfle-reference-kms-providers-aws`.
62-
6358
.. step:: Add Your Key Information
6459

6560
Update the following code to specify your {+cmk-long+}:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. tip::
2+
3+
To learn how to provide your AWS credentials without directly specifying them
4+
as shown in the preceding code example, see the :driver:`Java MONGODB-AWS documentation
5+
</java/sync/current/fundamentals/auth/#mongodb-aws>`.

0 commit comments

Comments
 (0)