Hey guys, I am working on a MERN project which is ...
# nodejs
s
Hey guys, I am working on a MERN project which is using google cloud to store images. In order to do that it requires gcloud permissions which can be acquired by
GOOGLE_APPLICATION_CREDENTIALS
environment variable setup along with other secret keys. Now, this env variable wants a path to JSON file which I get from gcloud which contains some sensitive data. It was easy to work with this on my local machine as I did setup the env variables but when I push it on Heroku it won't work because of this env variable. So my web app is unable to create objects in gcloud. Can someone help me out with this problem?