villasv / aws-airflow-stack

Turbine: the bare metals that gets you Airflow
https://victor.villas/aws-airflow-stack/
MIT License
376 stars 69 forks source link

Handle crypto and FERNET_KEY to enable connections to be encrypted #101

Closed edbizarro closed 5 years ago

edbizarro commented 5 years ago

Fixes #83

Get rid of the Warning: Connection passwords are stored in plaintext until you install the Python "cryptography" library. You can find installation instructions here: https://cryptography.io/en/latest/installation/. Once installed, instructions for creating an encryption key will be displayed the next time you import Airflow. message

villasv commented 5 years ago

Hi @edbizarro, thanks for the contribution! I have some concerns about the key generation, but I'm trying to figure out how to make it work as well.

edbizarro commented 5 years ago

Hi @edbizarro, thanks for the contribution! I have some concerns about the key generation, but I'm trying to figure out how to make it work as well.

I don't know if this is the best way for doing this but, I've updated my code to I give it a shot

villasv commented 5 years ago

You'll also need to rebase this branch though

edbizarro commented 5 years ago

You'll also need to rebase this branch though

Okay, time to learn how to do this properly! : D

villasv commented 5 years ago

I'll cook something up for this real quick, your PR gave me some ideas on how to do it.

villasv commented 5 years ago

Done: 8c2f5f1dc773015458a51443892702139b6d1bc7

I'll close this PR. Thanks for the insights!

edbizarro commented 5 years ago

Nice work! thanks