Skip to main content

Airflow AWS Shared Secrets Manager

Project description

airflow-aws-shared-secrets

SecretsManagerBackend with cross-account access.

Expected properties where:

  • shared_account: account_id from your core aws-account
  • aws_region: aws_region where the core secrets are stored in
{
    "connections_prefix": "airflow/connections/${environment}",
    "connections_prefix_shared" : "airflow/core/connections/${environment}",
    "shared_account": "123456789012",
    "aws_region": "eu-central-1"
}

Usage

We recommend setting up the SharedSecretsManager in the Airflow Helm by configuring the following config values.

### [secrets]
AIRFLOW__SECRETS__BACKEND: 'airflow_aws_shared_secrets.secret_manager.SharedSecretsManagerBackend'
AIRFLOW__SECRETS__BACKEND_KWARGS: '{"connections_prefix": "airflow/connections/${environment}", "connections_prefix_shared" : "airflow/core/connections/${environment}", "shared_account": "<my_core_aws_account_id>", "aws_region": "eu-central-1"}'

Check configurations-ref for more Airflow configuration possibilities.

Project details


Download files

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

Source Distribution

airflow_aws_shared_secrets-0.0.5.tar.gz (2.6 kB view hashes)

Uploaded Source

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