Skip to content

Conversation

@oscep
Copy link

@oscep oscep commented Sep 12, 2025

Description

This change allows devs to configure which Airflow secret will be used to retrieve dlt secrets:

import dlt

pipeline_name = "my_pipeline"
provider = AirflowSecretsTomlProvider(secret_variable_name=f"dlt_{pipeline_name}_secrets_toml")
dlt.config.register_provider(provider)

pipeline = dlt.pipeline(
    pipeline_name=pipeline_name,
    destination="athena",
    dataset_name="my_dataset",
    staging="filesystem",
)

Related Issues

Additional Context

@netlify
Copy link

netlify bot commented Sep 12, 2025

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 5666ee2
🔍 Latest deploy log https://app.netlify.com/projects/dlt-hub-docs/deploys/68c3c7f12ad16e000837d33d

@oscep oscep marked this pull request as ready for review September 12, 2025 07:14
Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rudolfix rudolfix self-assigned this Sep 30, 2025
@rudolfix rudolfix added the ci from fork Use to trigger CI on a PR (even from a fork) label Sep 30, 2025
@rudolfix
Copy link
Collaborator

a related fix and documentation got merged. I'm closing this PR

@rudolfix rudolfix closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci from fork Use to trigger CI on a PR (even from a fork)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support per-pipeline Airflow variables for isolated dlt secrets

2 participants