google: could not find default credentials
jeesmon opened this issue · 1 comments
jeesmon commented
Running go example is giving the following error
go run main.go
2024/05/01 09:10:24 failed to create client: dialing: google: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information
exit status 1
Any option to bypass auth in go when working with fake-gcs-server
?
jeesmon commented
Setting export STORAGE_EMULATOR_HOST=http://localhost:8000
worked!