* feat: add Application Default Credentials (ADC) auth mode
When GOG_AUTH_MODE=adc, the CLI authenticates using ambient credentials
(GKE Workload Identity, GOOGLE_APPLICATION_CREDENTIALS, or gcloud ADC)
instead of the keyring-based OAuth flow. This enables use in environments
like GKE pods where the service account accesses resources explicitly
shared with it — no domain-wide delegation or user impersonation needed.
The account email is no longer required in ADC mode; requireAccount()
returns "adc" as a placeholder when no --account/GOG_ACCOUNT is set.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(auth): add ADC mode (#357) (thanks @tengis617)
* fix(auth): satisfy ADC lint on landed branch (#357)
* test(auth): fix ADC test whitespace lint (#357)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>