We are trying to create Bigquery Snapshot with bq command in Github workflow.
We authenticated service account via Workload Identity Federation
We also did gcloud setup
but when we try to run bq cp --snapshot, we are getting below error -
ERROR: (bq) Your current active account [SA Account] does not have any valid credentials
Expected behavior
bq command should run seamless without issue
Observed behavior
ERROR: (bq) Your current active account [SA Account] does not have any valid credentials
TL;DR
We are trying to create Bigquery Snapshot with bq command in Github workflow.
We authenticated service account via Workload Identity Federation We also did gcloud setup but when we try to run bq cp --snapshot, we are getting below error -
ERROR: (bq) Your current active account [SA Account] does not have any valid credentials
Expected behavior
bq command should run seamless without issue
Observed behavior
ERROR: (bq) Your current active account [SA Account] does not have any valid credentials
Action YAML
Log output
No response
Additional information
No response