Gcloud Token
A read-only swamp vault that mints a fresh Google OAuth access token on every read by shelling out to the gcloud CLI. Google access tokens expire after about an hour; this vault never stores one, so long-running, multi-day automations never carry a stale credential.
- Never stale — the token is derived at read time from your active gcloud session.
- Nothing to leak — the vault holds no secret material; put() is refused and list() advertises only the single ACCESS_TOKEN key.
- No credential plumbing — no service-account key file, refresh token, or OAuth consent flow to manage.
Handles corporate TLS-inspecting-proxy (Zscaler, Netskope) CA trust through optional pythonPath and caCertsFile config, so gcloud's bundled Python trusts the corporate root.
Use
swamp extension pull @atalanta/gcloud-token
swamp vault create @atalanta/gcloud-token google-docs-token \
--config '{"gcloudPath":"/path/to/gcloud","scopes":"https://www.googleapis.com/auth/drive"}'Then wire ${{ vault.get(google-docs-token, ACCESS_TOKEN) }} into a Google API model's globalArguments as the bearer credential. See docs/ for the full guides.
Initial release. Read-only vault that mints a fresh Google OAuth access token per read via gcloud; no stored secret. Optional pythonPath/caCertsFile for corporate TLS-inspecting proxies. Full Diátaxis docs included.
Mints a fresh Google OAuth access token on each read via the gcloud CLI.
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned