Skip to content
Advertisement

Tag: google-kubernetes-engine

Google Cloud Java SDK with Workload Identity?

Trying to figure out how to authenticate with the storage API from within a GKE cluster. Code: getApplicationDefault() is documented to use these means to authenticate with the API: Credentials file pointed to by the {@code GOOGLE_APPLICATION_CREDENTIALS} environment variable Credentials provided by the Google Cloud SDK {@code gcloud auth application-default login} command Google App Engine built-in credentials Google Cloud Shell

Advertisement