Skip to content

BigQueryCache: connect without service account #129

Closed Answered by aaronsteers
4sushi asked this question in Q&A
Discussion options

You must be logged in to vote

@4sushi - Thanks for trying out PyAirbyte and thanks for leaving this feedback. I have briefly looked into what would be required to use the Google CLI Client instead of a service account credentials file.

The place that most likely would need to be updated is _get_credentials(), which currently expects to initialize auth for a service account:

def _get_credentials(self) -> service_account.Credentials:
"""Return the GCP credentials."""
if self._credentials is None:
self._credentials = service_account.Credentials.from_service_account_file(
self.cache.credentials_path
)
r…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@4sushi
Comment options

Answer selected by 4sushi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants