gcloud-credential-helper

command
v0.0.0-...-05b0b22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: MIT, MIT Imports: 12 Imported by: 0

Documentation

Overview

Command gcloud-credential-helper prints a Google Cloud access token obtained from Application Default Credentials (ADC) in one of several formats (raw, the serialized OAuth2 token, or the Bazel --credential_helper wire format). It is primarily a Bazel credential helper for the GCS remote cache, invoked as `gcloud-credential-helper get` with a request on stdin and the reply on stdout.

It replaces shelling out to `gcloud auth application-default print-access-token`: the Google auth library resolves ADC (the gcloud application-default file, a service account key, or the metadata server) and mints — and refreshes — the access token itself.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL