Im trying to make a project that will upload google storage json file to BigQuery (just automate something that is done manually now).
And i\'d like to use \'service
Are you running the script in the same command line session as the one you set your environment variable in using export? If not, you might want to look into setting it for your user or system (see this question for more info).
Another option that might make things even easier and takes care of these things automatically is using the gcloud cli tool. If you look at the second option here under the How the Application Default Credentials work, you can find info on how to use it to manage the credentials for you (gcloud auth login
and gcloud auth application-default login
)