Seth Vargo
Seth Vargo
@javiercr for now, yes. We can change the default when we release the next major version (along with other breaking changes), but for now, we have to keep compat with...
Hi @pvanderlinden - I'm not seeing where you're using `gsutil` in your example, did you mean `gcloud`? You need to use [`google-github-actions/setup-gcloud@v2`](https://github.com/google-github-actions/setup-gcloud) to install and configure gcloud.
Hi @pvanderlinden, as noted in the [README prerequisites](https://github.com/google-github-actions/auth?tab=readme-ov-file#prerequisites), you must use gcloud/gsutil version 390.0.0 or later. We don't control which version of gcloud/gsutil is pre-installed on the GitHub Actions managed...
You still need `actions/setup-gcloud` (you can set `install: false` to bypass installation), because something has to run `gcloud auth login`...
The `auth` action creates credentials files and exports environment variables. Unfortunately `gcloud` (and `gsutil` and `bq`) do not read any environment variables to source their authentication. `auth` can't run the...
`auth` does not authenticate gcloud. `setup-gcloud` authenticates gcloud with the credentials from `auth`.
Hi @pvanderlinden does that answer your question?
`auth` sets up the environment, specifically Application Default Credentials. If tools honor those, they are used. Otherwise, special authentication steps are needed.
@Ben-Epstein - can you run `gsutil --version`, `gcloud --version`, `which gcloud`, and `which gsutil` and share the output please? If `gcloud` is working and `gsutil` is not, then that means...
Hmm that's so weird because I'm running the exact same version of `gsutil` locally and it seems to respect `GOOGLE_APPLICATION_CREDENTIALS`. Let me dig in more.