neil90 edited a comment on issue #5635: [Airflow 4923] Fix Databricks hook leaks API secret in logs URL: https://github.com/apache/airflow/pull/5635#issuecomment-513868444 Hi @zenyui 1) the BaseHook.get_connection once it gets the connection info checks to see if the host field exists and if it does it logs the extra field - [Link](https://github.com/apache/airflow/blob/1.10.3/airflow/hooks/base_hook.py#L81-L83) 2) Currently users can do something similar which is put their login name into the username field and the token into password field. Basically it is now similar to [aws_hook](https://github.com/apache/airflow/blob/master/airflow/contrib/hooks/aws_hook.py#L98-L108) functionality
---------------------------------------------------------------- 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] With regards, Apache Git Services
