airflow's configuration file
raavioli opened this issue · 0 comments
I just started playing with this and encountered minor issue which i was able to over come , may be you can mention in your set up/readme file.
the secret_key is a Flask setting which is used to keep client sessions secure. The Airflow documentation however doesn't really mention it (even in the Security section), nor that it should be changed from the default of temporary_key. It should be changed to a random key of your choice.
You can generate it with the Python command shown in the Flask docs: python -c 'import os; print(os.urandom(16))'
Or, since the secret_key may be in unicode, you can use any online key generator to create one, or just enter some random string of letters and numbers.
Generate the key and copy-paste into your airflow.cfg, restarting the Airflow webserver afterwards.