from cryptography.fernet import Fernet
FERNET_KEY = Fernet.generate_key().decode()
print(FERNET_KEY)
# Export variables
airflow variables export variables.txt
For backup use backup-server.
airflow
from cryptography.fernet import Fernet
FERNET_KEY = Fernet.generate_key().decode()
print(FERNET_KEY)
# Export variables
airflow variables export variables.txt
For backup use backup-server.