Skip to content

Google Secrets Backend logs on every connection reference when using ADC #73163

Closed

Description

@emery-finkelstein

Under which category would you file this issue?

Providers

Apache Airflow version

Airflow 3.3.1

What happened and how to reproduce it?

Configure Google Secrets Backend To be the primary source for connections.

Add an HTTP connection into the environment with an endpoint that's a public website (ie: apache.org).
It doesn't matter if the connection is provided by the Google Sercrets Backend, in the environment directly. So long as the secrets mangager lookup occurs.

Set up a task that makes multiple HTTP requests given a hook.

@task
def sample_task(http_conn_id=None)
   hook = HTTPHook(http_conn_id)
   for i in range(10):
      hook.run()

Getting connection using google.auth.default() is logged on each iteration.

What you think should happen instead?

Secrets manager shouldn't be logging that it's using default credentials on each iteration.

Maybe the HTTPHook could cache the connection, to prevent consistent lookups of the connection.
Maybe the Google Secrets Backend can suppress this message (especially when running in a cloud composer environment where ADC is the expected method of authenticating with the Secret store).

Operating System

Cloud composer 3.

Deployment

Google Managed Service for Apache Airflow

Apache Airflow Provider(s)

google

Versions of Apache Airflow Providers

apache-airflow-providers-google==22.3.0
apache-airflow-providers-http==6.0.5

Official Helm Chart version

No response

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

Normally I'd be willing to submit a PR, but there's too much to untangle here, and it's not clear what the best way to handle this is.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Sep 15, 2026
  2. added
    provider:google
    and removed
    needs-triage
    on Sep 15, 2026
  3. added theissue type on Sep 15, 2026
  4. shahar1 commented on Sep 19, 2026

    @shahar1
    Contributor

    Technically solved by #71756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerskind:bugprovider:google

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions