Skip to content

docs(config): correct the BigQuery test-environment step - #342

Merged
lloydtabb merged 1 commit into
mainfrom
claude/bigquery-docs-update-6vq1ng
Aug 23, 2026
Merged

docs(config): correct the BigQuery test-environment step#342
lloydtabb merged 1 commit into
mainfrom
claude/bigquery-docs-update-6vq1ng

Conversation

@lloydtabb

Copy link
Copy Markdown
Contributor

Follow-up to #340, which merged before this correction landed.

An empty or unset serviceAccountKeyJson leaves the SDK's credentials option unset, so the connection uses application default credentials. Testing therefore means logging in and leaving the variable alone — not filling it from the ADC file, which is an authorized_user credential and gets rejected as not a service account key.

  • Step 2 drops the export of application_default_credentials.json; gcloud auth login --update-adc is the whole step.
  • Step 3 uses jq -c for the production key, so the value is a single line that survives .env files and CI secret fields.
  • Restores the opening sentence of the serviceAccountKey note, which a condensing pass in docs(config): document the BigQuery server setup #340 clipped into a dangling fragment.

The lead sentence about application default credentials is folded into step 2 rather than stated twice. The authClient section from #341 is untouched.

Verification

npm run build compiles clean.


Generated by Claude Code

An empty or unset serviceAccountKeyJson leaves the SDK's credentials
option unset, so the connection uses application default credentials.
Testing means logging in and leaving the variable alone, not filling it
from the ADC file. Use jq -c for the production key, and restore the
serviceAccountKey note that lost its opening sentence.

Signed-off-by: Lloyd Tabb <lloyd.tabb@gmail.com>
@lloydtabb
lloydtabb merged commit 1260f3c into main Aug 23, 2026
5 checks passed
@lloydtabb
lloydtabb deleted the claude/bigquery-docs-update-6vq1ng branch August 23, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant