Support BigQuery oauth credentials
See original GitHub issueCurrently BigQuery can only be authorized through a service account, which adds significant overhead to setting up a BQ project.
It should be possible to provide oauth credentials when executing against BigQuery.
-
During
init-creds
add an option to use OAuth for BigQuery projects -
Send the user to the oauth connection page with a callback to localhost:someport
-
Spin up a small server to handle the oauth callback
-
Write the oauth credentials to the
.df-credentials.json
file -
Create a Dataform OAuth client ID
-
Support OAuth credentials in the BigQuery adapter and extend the credentials proto to store this
-
Implement the new init-creds flow above
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Authorizing API requests | BigQuery - Google Cloud
Authorizing API requests ... The BigQuery API uses OAuth 2.0 access tokens or JSON Web Tokens (JWTs) to authorize requests. These tokens grant...
Read more >A Complete Guide for Google BigQuery Authentication Tutorial
Learn how to connect to Google BigQuery from our favorite SQL/BI/ETL tools ... Go to Credentials tab, click on Create Credentials, choose OAuth...
Read more >Authorizing Access to the Google BigQuery API using OAuth 2.0
The BigQuery API requires all requests to be authorized by an authenticated user or a service account. This guide describes how to authorize...
Read more >Set up BigQuery OAuth - dbt Developer Hub
dbt Cloud supports developer OAuth with BigQuery, providing an additional layer of security for dbt enterprise users. When BigQuery OAuth is ...
Read more >Setting up OAuth 2.0 - Google Cloud Platform Console Help
To use OAuth 2.0 in your application, you need an OAuth 2.0 client ID, which your application uses when requesting an OAuth 2.0...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
more details on how DBT did this here: https://github.com/fishtown-analytics/dbt/issues/2672
This is a very relevant reference: https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials