apache / airflow-client-python

Apache Airflow - OpenApi Client for Python
https://airflow.apache.org/
Apache License 2.0
356 stars 53 forks source link

Kerberos Authentication Support #46

Open yd302148 opened 2 years ago

yd302148 commented 2 years ago

Hello,

I would like to ask if the current airflow python client supports the use of kerberos authentication? I see that the kerberos section in the README.md document is empty, and it seems that only the basic_auth function is implemented in the code https://github.com/apache/airflow-client-python/blob/99b3d15620e543cf7b01da8f076bb78ae3eb9b71/airflow_client/client/configuration.py#L398 .

Could you please give me some code examples if kerberos is available? thanks.

potiuk commented 2 years ago

Yes. you need to extend the class and add your own authentication if you want to use Kerberos.