Home>
When json of environment variable authentication is stored in the source as follows
I am worried about security because I will write the location of json directly.

import os
from google.cloud import storage
os.environ ["GOOGLE_APPLICATION_CREDENTIALS"] = r'C: \ hoge \ hoge.json

How will security improve if json is changed?

os.environ ["GOOGLE_APPLICATION_CREDENTIALS"] = r'C: \ hoge \ hoge.json

Json describes it like this
It is described as it is in the source code
I would like to hear your opinions.