AirFlow 2.1.4 BaseHook password decryption problem

  airflow, connection-string, encryption, fernet, python

I try to get credentials that i set in connections tab in Airflow (2.1.4) with BaseHook, as written here Store and access password using Apache airflow .

It says that when i call connection.password attribute, it will be decrypted. But it stills encrypted.
I even didn’t set fernet key, and I’ve checked the fernet key parameter, it’s just empty.

How I can solve this problem?
Thanks in advance

Source: Python Questions

LEAVE A COMMENT