henry3260 commented on PR #68444:
URL: https://github.com/apache/airflow/pull/68444#issuecomment-4691563874

   > 1. If `airflowctl` exists, why change this CLI at all. Deprecate it sure, 
but why change it to use the API endpoint which may or may not be running when?
   > 2. Please improve the commit message as per our contributing guidlines
   > 3. Where does it get auth from?
   
   It gets authentication from `AIRFLOW_CLI_TOKEN` when that environment 
variable
   is set. Otherwise, it follows the design introduced in #68175: the locally
   configured auth manager provides a CLI user and mints a short-lived JWT via
   `get_cli_user()` and `generate_jwt()`.
   
   I interpreted #68402's instruction to follow #68175 as requiring the legacy
   `airflow` command to use that API client as part of the migration.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to