Skip to content

Commit b871767

Browse files
committed
oidc inter linking
1 parent a2ff558 commit b871767

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

source/fundamentals/authentication/enterprise-mechanisms.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ in the following sample code.
146146
authenticates using the `PLAIN Simple Authentication and Security Layer
147147
(SASL) defined in RFC-4616 <https://tools.ietf.org/html/rfc4616>`_.
148148

149+
.. _node-enterprise-auth-oidc:
150+
149151
MONGODB-OIDC
150152
------------
151153

source/whats-new.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,15 @@ The {+driver-short+} v6.11 release includes the following features:
8080

8181
The CSOT feature is experimental and might change in future driver releases.
8282

83-
- Adds OIDC authentication support for Kubernetes environments. To use OIDC to authenticate
84-
from a Kubernetes environment, set the ``authMechanismProperties`` connection option
85-
to ``ENVIRONMENT:k8s`` in your connection string. You can use this feature when connecting
83+
- Adds OIDC authentication support for Kubernetes environments. To learn
84+
more about this feature, see the :ref:`node-enterprise-auth-oidc`
85+
section of the Enterprise Authentication Mechanisms guide.
86+
87+
To use OIDC to authenticate from a Kubernetes environment, set the
88+
``authMechanismProperties`` connection option to ``ENVIRONMENT:k8s``
89+
in your connection string. You can use this feature when connecting
8690
to an environment running in Amazon's Elastic Kubernetes Service,
8791
Google Kubernetes Engine, or Azure Kubernetes Service.
88-
89-
The following example shows how to specify this connection option:
90-
91-
.. code-block:: javascript
92-
:copyable: true
93-
94-
const client = new MongoClient('mongodb://host:port/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s');
9592

9693
- The ``bson`` package adds support for binary vector data. To learn more about this feature,
9794
see the :github:`v6.10.0 Release Notes <mongodb/js-bson/releases/tag/v6.10.0>` for the

0 commit comments

Comments
 (0)