potiuk opened a new pull request, #68373:
URL: https://github.com/apache/airflow/pull/68373

   Adds guidance to the Dag bundles documentation that credentials for a Dag 
bundle should be supplied through an Airflow Connection (`git_conn_id` / 
`aws_conn_id` / `gcp_conn_id`) rather than inlined into the bundle `kwargs`.
   
   `dag_bundle_config_list` is surfaced by the Config API when `[api] 
expose_config` is enabled, so a credential placed directly in a bundle's 
`kwargs` (for example a token embedded in `repo_url`) is readable by anyone 
authorized to read the configuration. Referencing a Connection keeps the 
credential in the secrets backend and out of the exposed configuration.
   
   Docs-only change.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Opus 4.8 (1M context)
   
   Generated-by: Claude Opus 4.8 (1M context) following the guidelines at
   
https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to