3 Comments
User's avatar
dlthub's avatar

Wow what a pleasure to read and informative!

Expand full comment
Osvaldo Correia Junior's avatar

While running the workloads on GKE, did you use Application Default Credentials to perform the authentication? I'm having a hard time with google's gcloud.auth.default credentials and dlt compatible classes.

In my case it's important to rely on ADC because generating service account keys is forbidden.

Expand full comment
mucio's avatar

Hi Osvaldo,

I am replying here for the people who could end up here from somewhere else (Google? ChatGPT?).

As per our conversation in the dlthub slack, you were able to solve (on your own) the problem using:

```

import dlt

from dlt.sources.filesystem import filesystem, read_csv

from dlt.sources.credentials import GcpOAuthCredentials

creds = GcpOAuthCredentials()

```

Expand full comment