[SOLVED] Apache Airflow: Jak utworzyć Fernet Key Python? – wystarczą 2 polecenia!

You are currently viewing [SOLVED] Apache Airflow: Jak utworzyć Fernet Key Python? – wystarczą 2 polecenia!
Share This Post, Help Others, And Earn My Heartfelt Appreciation! :)
4.9
(296)

W tym krótkim samouczku sprawdzimy jak utworzyć Fernet Key Python?

Jak utworzyć Fernet Key Python?

Czym jest ten klucz?

Airflow uses Fernet to encrypt passwords in the connection configuration and the variable configuration. It guarantees that a password encrypted using it cannot be manipulated or read without the key. Fernet is an implementation of symmetric (also known as “secret key”) authenticated cryptography.

https://airflow.apache.org/docs/apache-airflow/stable/security/secrets/fernet.html

Zainstaluj bibliotekę cryptography, jeśli jej brakuje -> Apache Airflow

pip install cryptography

Utwórz nowy klucz Fernet

python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
30NkeeYthODONuaGqBNb13x_q_DSWuG6IUKpyb3t4Pc=

Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.

https://github.com/apache/airflow

Jeśli spodobał Ci się ten post to zostaw proszę komentarz poniżej lub udostępnij ten post na swoim Facebook’u, Twitter’ze, LinkedIn lub innej stronie z mediami społecznościowymi.
Dzięki!

How useful was this post?

Click on a star to rate it!

Average rating 4.9 / 5. Vote count: 296

No votes so far! Be the first to rate this post.

Subscribe
Powiadom o
guest
0 Comments
Inline Feedbacks
View all comments