You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/01 08:04:38 UTC

[GitHub] [airflow] ephraimbuddy commented on pull request #19851: Allow the use of Stable API in the CLI

ephraimbuddy commented on pull request #19851:
URL: https://github.com/apache/airflow/pull/19851#issuecomment-983386280


   It looks like we can't possibly integrate the stable REST API into the current CLI because of authentication. I wonder if anyone knows what should be in auth backends CLIENT_AUTH. In basic auth backend it's `None` see https://github.com/apache/airflow/blob/d067cfea701b7077bfa6c0f2b5339848579ee184/airflow/api/auth/backend/basic_auth.py#L27
   
   This is supposed to be used by the REST API client as shown here https://github.com/apache/airflow/blob/d067cfea701b7077bfa6c0f2b5339848579ee184/airflow/api/client/__init__.py#L37
   
   @uranusjr @ashb @msumit will appreciate your guidance on this. Another option I'm thinking of now is creating an auth endpoint and having the airflow cli as a separate project that connects to airflow instance using the airflow rest client.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org