Skip to content

Conversation

@ebyhr
Copy link
Contributor

@ebyhr ebyhr commented May 14, 2025

GoogleCredentials.getApplicationDefault() relies on GOOGLE_APPLICATION_CREDENTIALS environment variable.
This property allows users to access multiple BigQuery projects more easily.

Fixes #13036

@github-actions github-actions bot added the GCP label May 14, 2025
@ebyhr ebyhr force-pushed the ebi/bigquery-credential branch from 85687dc to 09050d8 Compare May 14, 2025 12:18
HttpCredentialsAdapter httpCredentialsAdapter =
new HttpCredentialsAdapter(
GoogleCredentials.getApplicationDefault().createScoped(BigqueryScopes.all()));
new HttpCredentialsAdapter(credentials.createScoped(BigqueryScopes.all()));
Copy link
Contributor

@talatuyarer talatuyarer May 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ebyhr Do you think we should also pass credentials for FileIO ? With this change FileIO and Bigquery may end up different credentials fyi

@github-actions
Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions
Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 17, 2025
@ebyhr ebyhr force-pushed the ebi/bigquery-credential branch from af62aa0 to 4d7ec79 Compare July 17, 2025 01:58
@github-actions github-actions bot removed the stale label Jul 18, 2025
@ebyhr ebyhr closed this Jul 24, 2025
@ebyhr ebyhr deleted the ebi/bigquery-credential branch July 24, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dedicated credential property to BigQuery metastore catalog

2 participants