apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
36.92k stars 14.25k forks source link

Connecting to a remote airflow instance via cli #41849

Closed deepaksinghkhetwal closed 1 month ago

deepaksinghkhetwal commented 2 months ago

What do you see as an issue?

Hello, I am trying to connect to an airflow running remotely in EC2 via airflow cli from local. I am following the below documentation for the setup. I cannot find a way to authenticate to the remote airflow instance. Is it possible to do it?

https://airflow.apache.org/docs/apache-airflow/2.0.2/usage-cli.html#set-up-connection-to-a-remote-airflow-instance

Solving the problem

If it is possible to authenticate to a remote airflow the steps can be documented

Anything else

No response

Are you willing to submit PR?

Code of Conduct

boring-cyborg[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

jscheffl commented 2 months ago

The remote connect option to use the CLI with the REST API has been removed. The link of documentation you shared is from a very old 2.0.2 Airflow-version. The current version of the SW does not carry this at the moment. But we are planning to re-introduce this in Airflow 3 again for better remote management under the umbrealla of AIP-81 (see https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-81+Enhanced+Security+in+CLI+via+Integration+of+API?src=contextnavpagetreemode) - if you are wanting to contribute we would be happy.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.

github-actions[bot] commented 1 month ago

This issue has been closed because it has not received response from the issue author.