The Data Flowcast: Mastering Apache Airflow ® for Data Engineering and AI · Astronomer
Security is one of the least visible parts of Airflow for most users, but it shapes what features teams can turn on in production. In this episode, Kenten Danas talks with Anish Giri, Senior Software Engineer and active Apache Airflow contributor focused on security, about three recent contributions that touch nearly every Airflow 3 deployment: hardening connection testing, adding JWT revocation, and splitting execution tokens by scope. Key Takeaways: 00:00 Introduction. 01:16 Anish's inside-out path into Airflow, starting from source code and docs rather than running pipelines in production. 03:13 Why security engineering flips the usual software question from "what can this do?" to "what can anyone make this to?" 04:49 How connection testing worked before, why it was disabled in Airflow 2.7 after a CVE, and how the redesign moves execution off the API server. 06:26 Running connection tests on the worker in Airflow 3 so credentials never leave the API server boundary. 07:50 What the mailing list and architecture review looked like, including a first-round rejection and eventual consensus. 10:00 The JWT logout problem in Airflow 3 and the revocation table that makes logout an actual logout. 13:12 A production incident with a GPU pipeline task hitting 403 after 15 minutes, and why it required splitting the token in two. 15:41 How the workload token and the auth token now have different lifetimes and scopes, tied to the task queue timeout. 19:53 Advice for new Airflow contributors: start small, don't fear the PR review, and treat feedback as mentorship. Resources Mentioned: Annual Airflow survey Apache Airflow Airflow on GitHub Airflow Slack Anish Giri at Airflow Summit Thanks for listening to "The Data Flowcast: Mastering Apache Airflow® for Data Engineering and AI." If you enjoyed this episode, please leave a 5-star review to help get the word out about the show. And be sure to subscribe so you never miss any of the insightful conversations. #AI #Orchestration #Airflow
0:33SPEAKER_02Or click the link in our show notes.
0:35SPEAKER_02Now let's get into the show.
0:38SPEAKER_00Okay, hi everyone.
0:39SPEAKER_00Welcome to the Data Flowcast.
0:41SPEAKER_00I'm your host, Kenton Danis, and today I'm joined by Anish Geary, who is a senior software engineer and active contributor to Apache Airflow focused on security.
0:51SPEAKER_00Anish, how are you?
0:52SPEAKER_01Yeah, I'm doing fine.
0:53SPEAKER_01How are you?
0:54SPEAKER_01Thanks for having me in today.
0:55SPEAKER_00I'm good.
0:56SPEAKER_00It's really great to have you on.
0:57SPEAKER_00I'm excited to dive into this.
0:59SPEAKER_00I always love having people who are contributing to the project on the podcast.
1:03SPEAKER_00And for today, for our listeners, we're going to discuss your security contributions to Airflow, including things like connection testing, token revocation, and token scoping.
1:14SPEAKER_00I think these are going to end up being things that probably every Airflow user encounters to some degree.
More The Data Flowcast: Mastering Apache Airflow ® for Data Engineering and AI episodes →