adventurous-ability-21671
04/30/2026, 5:15 PMPATAuth (refactored from flyteorg/flytekit#3394, behaviour preserved)
• `OAuthM2MAuth`: per-namespace databricks-oauth k8s secret with env-var fallback
• OIDCConnectorIRSAAuth (Model 1): connector pod's projected JWT (e.g. EKS IRSA)
• OIDCNamespaceSAAuth (Model 2): per-workflow-namespace ServiceAccount JWT minted via Kubernetes TokenRequest, discovered from SA labels and annotations. Preserves the per-namespace tenancy story for Unity Catalog.
Auto-detection + token refresh on 401 + zero workflow-code changes for adoption (operators flip env vars, task authors don't touch anything).
Validation: 100/100 unit tests, end-to-end on a dev EKS cluster against a real Databricks workspace for PAT, M2M, and OIDC Model 2.
Links:
• Issue: https://github.com/flyteorg/flyte/issues/7319
• PR: https://github.com/flyteorg/flytekit/pull/3429
A heads up for reviewers who worked on flyteorg/flytekit#3394: this PR refactors that path into the strategy abstraction. The public surface (env vars, secret names, fallback order) is unchanged, but connector.py now flows through select_auth → PATAuth.get_bearer_token → get_databricks_token. Worth opening connector.py and tests/test_databricks_token.py with that lens.
Happy to walk through the design or address review comments. 🙏
cc: @freezing-airport-6809 @glamorous-carpet-83516 @echoing-account-76888freezing-airport-6809
adventurous-ability-21671
08/04/2026, 9:50 AMechoing-account-76888
08/04/2026, 10:04 AMfaint-pilot-24699
08/04/2026, 10:18 AMadventurous-ability-21671
08/17/2026, 1:16 PMglamorous-carpet-83516
08/18/2026, 5:06 AMadventurous-ability-21671
08/18/2026, 6:44 AMadventurous-ability-21671
08/18/2026, 12:29 PMmaster.
All local verification and hosted CI checks are green. Please merge only #3455.
Once merged, I’ll close #3452, #3453, and #3454 as included in the final PR.glamorous-carpet-83516
08/18/2026, 4:52 PMadventurous-ability-21671
08/18/2026, 5:41 PMglamorous-carpet-83516
08/18/2026, 5:42 PMadventurous-ability-21671
08/18/2026, 5:43 PM