Did you setup the Fernet key in the Airflow configuration file (airflow.cfg) under the [core] section ?
[core] fernet_key = your_fernet_key
U need to restart Airflow after setting the Fernet key.
Obs: Just new variables will be encrypted.