Skip to main content

Inject connections into the airflow database from configuration

Project description

airflow-plugin-config-storage

Inject connections into the airflow database from configuration

Quickstart

Basic

$ pip install airflow-plugin-config-storage
$ export AIRFLOW_CONN_POSTGRES_MASTER=postgres://username:password@my.db.example.com/my-schema
$ load-airflow-conf-env-var
$ airflow webserver

Common

CLI Commands

delete-all-airflow-connnections

Removes all the connections from Airflow. Used to clean out the default connections.

Environment Variables

Structure

The Environment Variables to read from by default are the same as those defined in the Airflow documentation.

CLI Commands

load-airflow-conf-env-var

Takes a single optional argument --env-var-prefix ENV_VAR_PREFIX to override the Environment Variable prefix. Default is AIRLFOW_CONN_.

AWS

NOTE: Not yet implemented, these are proposals

SSM

Hierarchy

  • /${user_prefix}/airflow/connections/

    [
        {
            "conn_type": "s3",
    
        },
        {}
    ]
    
  • /${user_prefix}/airflow/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file airflow_plugin_config_storage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: airflow_plugin_config_storage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for airflow_plugin_config_storage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e957a01684d622b32f927ea21e79b87233b241a5bc865ff2e3bf616df7a41827
MD5 423a2b4df0186b8d7dec8540922cceb6
BLAKE2b-256 aea61cbc3a01b100084e8faf2d32d54d502397eb1de90431f3e5633c52aae46b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page