From 1e9d6e48c39acefe70f9dc2824dbd4911db6423b Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 12 Jun 2025 14:31:19 -0400 Subject: [PATCH 1/5] DOCSP-50554: Add extra AWS info to OIDC page --- source/fundamentals/authentication/oidc.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/fundamentals/authentication/oidc.txt b/source/fundamentals/authentication/oidc.txt index 66ebb19d..873ab99c 100644 --- a/source/fundamentals/authentication/oidc.txt +++ b/source/fundamentals/authentication/oidc.txt @@ -195,6 +195,12 @@ see the corresponding syntax. .CreateOidcCredential("k8s") var client = new MongoClient(mongoClientSettings); +If your application runs on `Amazon Elastic Kubernetes Service `__ +(EKS) or another AWS service, you will need to create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` +environment variable that points to a file containing your OIDC token in addition to +the preceding Kubernetes OIDC authentication steps. To learn more about authenticating to +MongoDB from AWS applications, see the :ref:`csharp-authentication-aws` guide. + Custom Callback ~~~~~~~~~~~~~~~ From 70628fbb0662d0aad0279d3beec91e12cc3037fa Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 12 Jun 2025 15:24:09 -0400 Subject: [PATCH 2/5] Trigger build From b90e84e2973ce2eb2131e3d8e0c56a54f6b6c837 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 12 Jun 2025 16:17:42 -0400 Subject: [PATCH 3/5] Trigger build From 606cb9f594e896b5b362ca042bc40d161be9e2b6 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 12 Jun 2025 16:28:14 -0400 Subject: [PATCH 4/5] Fix --- source/fundamentals/authentication/oidc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fundamentals/authentication/oidc.txt b/source/fundamentals/authentication/oidc.txt index 873ab99c..ec20dc1b 100644 --- a/source/fundamentals/authentication/oidc.txt +++ b/source/fundamentals/authentication/oidc.txt @@ -196,7 +196,7 @@ see the corresponding syntax. var client = new MongoClient(mongoClientSettings); If your application runs on `Amazon Elastic Kubernetes Service `__ -(EKS) or another AWS service, you will need to create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` +(EKS), you will need to create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` environment variable that points to a file containing your OIDC token in addition to the preceding Kubernetes OIDC authentication steps. To learn more about authenticating to MongoDB from AWS applications, see the :ref:`csharp-authentication-aws` guide. From 28c0a77005df115d92fa3ffc176ff3e4f57feb7b Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Thu, 12 Jun 2025 16:50:44 -0400 Subject: [PATCH 5/5] RR feedback --- source/fundamentals/authentication/oidc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/authentication/oidc.txt b/source/fundamentals/authentication/oidc.txt index ec20dc1b..d9e85025 100644 --- a/source/fundamentals/authentication/oidc.txt +++ b/source/fundamentals/authentication/oidc.txt @@ -196,8 +196,8 @@ see the corresponding syntax. var client = new MongoClient(mongoClientSettings); If your application runs on `Amazon Elastic Kubernetes Service `__ -(EKS), you will need to create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` -environment variable that points to a file containing your OIDC token in addition to +(EKS), you must create an ``AWS_WEB_IDENTITY_TOKEN_FILE`` environment variable that points +to the file containing your OIDC token, in addition to completing the preceding Kubernetes OIDC authentication steps. To learn more about authenticating to MongoDB from AWS applications, see the :ref:`csharp-authentication-aws` guide.