sann05 opened a new issue #9205: URL: https://github.com/apache/airflow/issues/9205
As I Airflow developer I want to have the ability to use key files for an API authorization for Hooks development. Some APIs use key files (including binary files) for authorization. How it would look like: 0. _A user is on the "Add Connection" page._ 1. Clicks on the "Browse" button opposite to the "Key file" field. 2. Chooses the needed key file. 3. The key file is saved under $AIRFLOW_HOME/key_files/<random_generated_name> (I am not sure if it's necessary, but it will make harder to understand what key file for what exact connection, while it's mapped in the database) Use case: 0. _Developing a Hook._ 1. Get connection by id with BaseHook.get_connection(connection_id) function. 2. Get the absolute path to the key_file with Connection.key_file attribute, so the user can use it in the API authorization. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
