Skip to main content
← Back to list
01Issue
FeatureOpenExtensions
AssigneesNone

Relationships

#475 GCP: support vault expressions for credentials instead of env-var-only auth

Opened by stack72 · 5/28/2026

GCP models authenticate via an env-var credential chain (GCP_ACCESS_TOKEN, GOOGLE_APPLICATION_CREDENTIALS_JSON, GOOGLE_APPLICATION_CREDENTIALS, ADC) plus GCP_PROJECT / GOOGLE_CLOUD_PROJECT (codegen/gcp/libGenerator.ts). None can be supplied via vault expressions in the model YAML.

Request: add optional, sensitive global arguments (e.g. accessToken, credentialsJson, project) that take precedence over the environment chain, threaded through the shared _lib auth path, so users can wire them with vault.get(...) expressions.

Mirror the approach delivered for @swamp/hetzner-cloud in swamp-club #471: sensitive global args via z.meta({ sensitive: true }); precedence over env; threaded into token resolution; never written into logs or a request body.

Scope: codegen change in codegen/gcp/libGenerator.ts and extensionModelGenerator.ts; affects every GCP service extension (~260) on regeneration. swamp-core honors z.meta({ sensitive: true }) in run logs, reports, and data storage.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

5/28/2026, 7:43:53 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.