@@ -526,14 +526,29 @@ description: |
526526 Provide the name of the |k8s-secret| that store the |certauth|.
527527 ---
528528program : _shared
529+ name : spec.security.authentication
530+ type : collection
531+ directive : setting
532+ optional : true
533+ description : |
534+ Authentication specifications for your MongoDB deployment.
535+ ---
536+ program : _shared
529537name : spec.security.authentication.modes
530538type : array
531539directive : setting
532540optional : true
533541description : |
534- Set to ``["X509"]`` to enable
535- :ref:`X.509 internal cluster authentication
536- <x509-internal-authentication>` for the |com| project.
542+ Specifies the authentication mechanism that your MongoDB deployment
543+ uses. Valid values are ``SCRAM`` and ``X509``.
544+
545+ To enable :ref:`X.509 internal cluster authentication
546+ <x509-internal-authentication>` for the |com| project, set this value
547+ to ``["X509"]`` and specify the following settings:
548+
549+ - :setting:`spec.security.authentication.internalCluster` ``: "X509"``
550+ - :setting:`spec.security.tls.enabled` ``: true``
551+
537552 ---
538553program : _shared
539554name : spec.security.authentication.enabled
@@ -542,8 +557,11 @@ directive: setting
542557optional : true
543558default : " ``false``"
544559description : |
545- Specifies whether x.509 authentication is enabled on the |com|
546- project.
560+ Specifies whether authentication is enabled on the |com|
561+ project. Requires that you set an authentication mechanism in
562+ :setting:`spec.security.authentication.modes`.
563+
564+ To disable authentication in |com|, explicitly set to ``false``.
547565 ---
548566program : _shared
549567name : spec.security.authentication.ignoreUnknownUsers
@@ -555,8 +573,7 @@ description: |
555573 Determines whether you can modify database users that were not
556574 configured through the |k8s-op-short| or the |com| UI.
557575
558- Set to ``true`` if you need to manage database users directly through
559- the |mongod| or |mongos|.
576+ To manage database users directly through the |mongod| or |mongos|, set to ``true``.
560577 ---
561578program : _shared
562579name : spec.additionalMongodConfig.net.ssl.mode
@@ -576,9 +593,14 @@ type: string
576593directive : setting
577594optional : true
578595description : |
579- Set to ``X509`` to enable :ref:`X.509 internal cluster authentication
580- <x509-internal-authentication>`. Requires |tls| on the resource by
581- setting :setting:`spec.security.tls.enabled` to ``true``.
596+ Specifies whether :ref:`X.509 internal cluster authentication
597+ <x509-internal-authentication>` is enabled.
598+
599+ To enable X.509 internal cluster authentication, set to ``"X509"``.
600+ Requires that the following settings be specified:
601+
602+ - :setting:`spec.security.authentication.modes` ``: ["X509"]``
603+ - :setting:`spec.security.tls.enabled` ``: true``
582604
583605 .. important::
584606
0 commit comments