'In Airflow UI under connections, what does 'encrypted' and 'extra-encrypted' mean?

Simple question here. When looking at Airflow's UI, like in the screenshot below:

enter image description here

What does Is Encrypted and Is Extra Encrypted stand for? Is there clear documentation on this?

Thanks



Solution 1:[1]

  • 'Is Encrypted' means a password value were set in the connection and it will be encrypted using a fernet key. You can see more details here. When an Apache Airflow enviromente are running with no encryption, even the logs prints the passwords connections for instance.

  • 'Is Extra Encrypted' means that whatever were set in Extras dictionary and it will be encrypted or not.

In a first moment, you can imagine that 'Is Extra Encrypted' can be an extra security layer. This is not the case.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Igor Couto