@@ -14,7 +14,7 @@ Configure Federated Authentication from Kubernetes
1414
1515|ak8so| supports configuring :ref:`federated authentication
1616<atlas-federated-authentication>` for your |service| organization.
17- To configure federated authentication through |ak8so|, you must
17+ To configure federated authentication through the |ak8so|, you must
1818specify and update the :ref:`atlasfederatedauth-custom-resource`.
1919
2020.. include:: /includes/fact-ak8so-federated-auth.rst
@@ -33,12 +33,27 @@ you must have:
3333 |ak8so| can use to :ref:`connect <ak8so-access-to-atlas-ref>` to |service|.
3434 The API keys must have the :authrole:`Organization Owner` role.
3535
36+ - At least one :ref:`role <user-roles>` within an active |service| organization
37+ or the projects in the organization.
38+
3639Update an Organization Configuration
3740------------------------------------
3841
39- To update an organization configuration
40- for your federation, specify the parameters in the
41- :ref:`atlasfederatedauth-custom-resource`.
42+ To configure federated authentication through the |ak8so|,
43+ update the organization configuration for your federation
44+ by specifying the :ref:`atlasfederatedauth-custom-resource`.
45+
46+ .. include:: /includes/fact-atlasfederatedauth-example.rst
47+
48+ To learn more, see :ref:`atlasfederatedauth-parameters`.
49+
50+ .. note::
51+
52+ The :ref:`spec.roleMappings.roleAssignments
53+ <atlasfederatedauth-roleAssignments>`
54+ parameter must include at least one organization role
55+ within the current organization or the projects in
56+ the organization.
4257
4358**Example:**
4459
@@ -51,21 +66,25 @@ for your federation, specify the parameters in the
5166 name: atlas-default-federated-auth
5267 namespace: mongodb-atlas-system
5368 spec:
54- enabled: true
69+ enabled: true
5570 connectionSecretRef:
5671 name: my-org-secret
5772 namespace: mongodb-atlas-system
5873 domainAllowList:
5974 - my-org-domain.com
60- domainRestrictionEnabled: true
61- ssoDebugEnabled: true
62- postAuthRoleGrants:
63- - GLOBAL_AUTOMATION_ADMIN
75+ domainRestrictionEnabled: true
76+ ssoDebugEnabled: false
77+ postAuthRoleGrants:
78+ - ORG_MEMBER
6479 roleMappings:
65- - externalGroupName: myTestGroup
80+ - externalGroupName: org-admin
81+ roleAssignments:
82+ - role: ORG_OWNER
83+ - externalGroupName: dev-team
6684 roleAssignments:
67- - projectName: myTestProject
68- role: ORG_OWNER
85+ - role: ORG_GROUP_CREATOR
86+ - projectName: dev-project
87+ role: GROUP_OWNER
6988
7089 EOF
7190
0 commit comments