To Authenticate pipeline in Python project I'm using this
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/the/json/key.json"
How to do the same thing BUT with the loaded JSON file? (without using path to the JSON)??
To Authenticate pipeline in Python project I'm using this
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/the/json/key.json"
How to do the same thing BUT with the loaded JSON file? (without using path to the JSON)??
There are a few ways to authenticate against a project in Google Cloud. Please take a look at: https://googleapis.dev/python/google-api-core/latest/auth.html as well as the best practices as mentioned here: https://cloud.google.com/docs/authentication/best-practices-applications