Created
March 27, 2020 18:39
-
-
Save kaxil/b6da4fd18724472c96a190cfa2d50fda to your computer and use it in GitHub Desktop.
Use Hashicorp Vault to retrieve connections in Airflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export AIRFLOW__SECRETS__BACKEND="airflow.contrib.secrets.hashicorp_vault.VaultSecrets" | |
export AIRFLOW__SECRETS__BACKEND_KWARGS='{"url":"http://127.0.0.1:8200","token":"<YOUR-ROOT-TOKEN>","connections_path": "connections"}' | |
# Start Scheduler | |
airflow scheduler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment