boost-factory-gcp-api

Use when configuring shared GCP API options (credentials, endpoint, user-agent) consumed by all cloud.google.com/* factories — bigquery, firestore, pubsub. Provided by github.com/xgodev/boost/factory/contrib/cloud.google.com/api/v0. Covers ConfigAdd and how this layer composes inside the GCP service factories. Triggers on imports under factory/contrib/cloud.google.com/api/, on questions about GCP credentials override, custom endpoints (emulator), or user-agent string in a boost service.

xgodev/boost1 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: boost-factory-gcp-api
description: Use when configuring shared GCP API options (credentials, endpoint, user-agent) consumed by all cloud.google.com/* factories — bigquery, firestore, pubsub. Provided by github.com/xgodev/boost/factory/contrib/cloud.google.com/api/v0. Covers ConfigAdd and how this layer composes inside the GCP service factories. Triggers on imports under factory/contrib/cloud.google.com/api/, on questions about GCP credentials override, custom endpoints (emulator), or user-agent string in a boost service.
license: MIT
---

**REQUIRED BACKGROUND:** `boost-start`, `boost-wrapper-config`. Composed by `boost-factory-bigquery`, `boost-factory-firestore`, `boost-factory-pubsub`.

## What it provides

Shared GCP API options (credentials JSON, endpoint URL, user-agent) registered under `boost.factory.gcp.api.*` and composed by every concrete GCP factory at `<root>.apiOptions.*`. You rarely import this skill's package directly — you configure its keys instead.

## Tunables

- `apiOptions.projectID` — GCP project
- `apiOptions.credentialsJSON` / `apiOptions.credentialsFile` — service-account override
- `apiOptions.endpoint` — emulator URL (e.g., `localhost:8085` for the Pub/Sub emulator) or private endpoint
- `apiOptions.userAgent` — header used in API calls

Override per-service: a dedicated emulator for the BigQuery factory only:

```
BOOST_FACTORY_GCP_BIGQUERY_APIOPTIONS_ENDPOINT=localhost:9050
```

## Red flags

| Red flag | Fix |
|---|---|
| Setting GCP credentials at the cloud-google service factory level when multiple services share them | Set under `boost.factory.gcp.api.*` once; service factories inherit |
| Pointing one env var at all GCP services when only one needs an emulator | Use the per-service `apiOptions.endpoint` override |
| Hardcoded service-account JSON in the repo | Provide via Vault (`boost-factory-vault`) or workload identity |

More DevOps & Infrastructure skills

← All DevOps & Infrastructure skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY