~/talk

Dynamic Security Roles in Airflow for Multi Tenancy

Talkat Airflow Summit 2021 · 2021-07-08..07-16· [security]
links:none on file
links:none on file
slides:none on file

Builds a custom AirflowSecurityManager that reads Active Directory via LDAP, auto-creates Airflow roles from a role mapping dict, and ties roles to DAGs using the DAG arg (can_read/can_edit) so teams only see their DAGs. Runs on Airflow 1.10.14 with notes about Airflow 2.0 and auth_roles_mapping support. Permissions sync happens at login (a sync on login CLI hook), new DAGs require logout/login to appear, and consolidation cuts infrastructure from about four EC2s to one, successfully preserving isolation and lowering cost.

AI-written summary · about

  1. 0:00Intro
  2. 2:12Multi Tenancy Need
  3. 4:33State of RBAC in Airflow 1.10.14
  4. 6:52Solution: Airflow LDAP/RBAC Implementation
  5. 9:45Webserver_config.py - Role Implementation
  6. 10:44Custom Airflow Security Manager Class - Role Mapping Init
  7. 11:49DAG Creation
  8. 14:36Airflow 2.0+
  9. 16:28Summary - RBAC Custom Implementation
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.