exit.Message(reason.InternalCredsNotFound,"Could not find any GCP credentials. Either run `gcloud auth application-default login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")
}
ifcreds.JSON==nil{
// credentials were found from the surrounding environment instead of from a file, we need to create a file from these creds.
token,err:=creds.TokenSource.Token()
iferr!=nil{
// well that's no good, the creds aren't valid
exit.Message(reason.InternalCredsNotFound,"Could not find any GCP credentials. Either run `gcloud auth application-default login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")