Skip to content

Commit 7751a8a

Browse files
committed
DOCSP-50554: Add extra AWS info to OIDC page (#648)
(cherry picked from commit 487132e)
1 parent bf871d0 commit 7751a8a

File tree

1 file changed

+6
-0
lines changed
  • source/fundamentals/authentication

1 file changed

+6
-0
lines changed

source/fundamentals/authentication/oidc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ see the corresponding syntax.
195195
.CreateOidcCredential("k8s")
196196
var client = new MongoClient(mongoClientSettings);
197197

198+
If your application runs on `Amazon Elastic Kubernetes Service <https://aws.amazon.com/eks/>`__
199+
(EKS), you must create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` environment variable that points
200+
to the file containing your OIDC token, in addition to completing
201+
the preceding Kubernetes OIDC authentication steps. To learn more about authenticating to
202+
MongoDB from AWS applications, see the :ref:`csharp-authentication-aws` guide.
203+
198204
Custom Callback
199205
~~~~~~~~~~~~~~~
200206

0 commit comments

Comments
 (0)