You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/airflow/pages/usage-guide/security.adoc
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,21 @@ spec:
40
40
productVersion: 3.1.6
41
41
clusterConfig:
42
42
authentication:
43
-
- authenticationClass: ldap # <1>
44
-
userRegistrationRole: Admin # <2>
43
+
- authenticationClass: ldap # <1>
44
+
userRegistration: true # <2>
45
+
userRegistrationRole: Admin # <3>
46
+
syncRolesAt: Registration # <4>
45
47
----
46
48
47
49
<1> The reference to an AuthenticationClass called `ldap`
48
-
<2> The default role that all users are assigned to
50
+
<2> Whether users that are not yet in Airflow's user database are created automatically on their first login (defaults to `true`)
51
+
<3> The default role that all users are assigned to
52
+
<4> When user roles are synchronized with the identity provider: `Registration` (only on first login, the default) or `Login` (on every login)
49
53
50
54
Users that log in with LDAP are assigned to a default {airflow-access-control-docs}[role{external-link-icon}^] which is specified with the `userRegistrationRole` property.
51
55
56
+
TLS verification for the authentication connection cannot be disabled; the operator rejects an AuthenticationClass that turns it off.
57
+
52
58
You can follow the xref:tutorials:authentication_with_openldap.adoc[] tutorial to learn how to set up an AuthenticationClass for an LDAP server, as well as consulting the {crd-docs}/authentication.stackable.tech/authenticationclass/v1alpha1/[AuthenticationClass reference {external-link-icon}^].
53
59
54
60
The users and roles can be viewed as before in the Webserver UI, but the blue "+" button is not available when authenticating via LDAP:
<1> The reference to an AuthenticationClass called `keycloak`
84
92
<2> The reference to the Secret containing the Airflow client credentials
85
-
<3> The default role to which all users are assigned
93
+
<3> Whether users that are not yet in Airflow's user database are created automatically on their first login (defaults to `true`)
94
+
<4> The default role to which all users are assigned
95
+
<5> When user roles are synchronized with the identity provider: `Registration` (only on first login, the default) or `Login` (on every login)
86
96
87
97
Users that log in with OpenID Connect are assigned to a default {airflow-access-control-docs}[role{external-link-icon}^] which is specified with the `userRegistrationRole` property.
88
98
99
+
TLS verification for the authentication connection cannot be disabled; the operator rejects an AuthenticationClass that turns it off.
100
+
89
101
The Secret containing the Airflow client credentials:
0 commit comments