Environment variables CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE Point it to the .json file and it will override gcloud/gsutil command line authentication. No need to gcloud auth login or anything like that.
gsutil doesn't support this variable :(