Skip to content

Conversation

@liranbg
Copy link
Member

@liranbg liranbg commented Dec 31, 2025

📝 Description

Add Iguazio V4 authentication support for API Gateway by introducing a new NuclioAuthInfo class that handles bearer token authentication.


🛠️ Changes Made

  • Added new mlrun/auth/nuclio.py module with NuclioAuthInfo class supporting:
    • Bearer token authentication for Iguazio V4 mode
    • Basic auth and session-based auth for non-V4 modes
    • from_auth_info(), from_request_headers(), and from_envvar() factory methods
  • Removed deprecated to_nuclio_auth_info() method and helper classes from mlrun/common/schemas/auth.py
  • Updated API Gateway, Nuclio function deployments, and server-side clients to use the new NuclioAuthInfo class
  • Added @min_nuclio_versions("1.15.10") requirement for with_iguazio_auth() method

✅ Checklist

  • I updated the documentation (if applicable)
  • I have tested the changes in this PR
  • I confirmed whether my changes are covered by system tests
    • If yes, I ran all relevant system tests and ensured they passed before submitting this PR
    • I updated existing system tests and/or added new ones if needed to cover my changes
  • If I introduced a deprecation:

🧪 Testing

  • Tests over igz3 for regression ✔️
  • Tests over igz4 for progression ✔️

🔗 References


🚨 Breaking Changes?

  • Yes (explain below)
  • No

🔍️ Additional Notes

Refactors Nuclio authentication to properly support Iguazio V4's bearer token-based authentication while maintaining backward compatibility with V3 session-based auth.

@liranbg liranbg requested review from a team, quaark and rokatyy as code owners December 31, 2025 07:10
@liranbg liranbg marked this pull request as draft December 31, 2025 07:14
@liranbg liranbg merged commit 10314fe into mlrun:development Jan 1, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants