ahidalgob opened a new issue, #58230: URL: https://github.com/apache/airflow/issues/58230
### Description Currently running `airflowctl` commands requires a keyring to be available in the system, this is normally the case when the user interacts directly with `airflowctl` but not necessarily when trying to use it programmatically (Cloud VMs, docker containers, etc). `--api-token` and `AIRFLOW_CLI_TOKEN` are only used for the login command which basically stores the token in the keyring, if we add this parameter to other commands it would be possible to use airflowctl in headless environments. ### Use case/motivation Allow users to pass the api-token to all commands in case there's no keyring available: `airflowctl dags list --api-token <<TOKEN>>` ### Related issues _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
