Reputation: 445
How do I use service account and API key separately to use BigQuery?
I would like to access to BigQuery API from server application. My Server application would like to use only one authorization key to access to BigQuery API. I think that I can select following 2 way.
Above key is described as following in google developers console.
Upvotes: 2
Views: 322
Reputation: 208022
Use service account for BigQuery as that's easier to use, and lots of examples are based on that.
Also the CLI tool can be setup to use a service account so you have an advantage there.
gcloud auth activate-service-account [email protected] --key-file ~/.bigquery.v2.p12
Upvotes: 2