viant / bigquery

BigQuery database/sql golang driver
Apache License 2.0
8 stars 3 forks source link

Is it possible to auth via service account? #7

Closed tapir closed 3 months ago

tapir commented 3 months ago

I'm using a service account to auth with my DB, is there a way to make use of it with this library? without using scy?

tapir commented 3 months ago

I was able to auth via putting the service account json file path to GOOGLE_APPLICATION_CREDENTIALS However it now complains about Dataset *** was not found in location US, notFound Not sure why it looks to US location. Other clients that I'm uing doesn't require any location specification.

tapir commented 3 months ago

I could manually set the location to EU and it works thank you