Meshery Docs ยท ๐ Extensibility & Reference
ErrGCPCredentialsUnavailableCode-11345
Component: library / meshkit
Code: meshkit-11345 (ErrGCPCredentialsUnavailableCode-11345)
Severity: Alert
Short description
Google Cloud credentials are not available for GKE token minting
Long description
Unable to obtain a token from Google Application Default Credentials to mint a GKE token
Probable cause
- GOOGLE_APPLICATION_CREDENTIALS is unset, no gcloud application-default credentials file exists, and no GCE or GKE metadata server is reachable
- The Application Default Credentials were found but token exchange failed, for example because the refresh token was revoked or expired
- The credentials file is not a service_account key or an authorized_user (gcloud application-default login) file; external_account, impersonated_service_account and other types are not supported in process
- The credentials file names a token_uri other than https://oauth2.googleapis.com/token
- On a metadata server, the host's access scopes do not include cloud-platform and userinfo.email
Suggested remediation
- Set GOOGLE_APPLICATION_CREDENTIALS to a service-account key file, run on GKE with Workload Identity, or run gcloud auth application-default login
- On a Compute Engine host, enable the cloud-platform and userinfo.email access scopes