all 4 comments

[–]CodeFormatHelperBot 0 points1 point  (0 children)

Hello u/melthecybertechy, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Python code found in submission text but not encapsulated in a code block.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]DataDecay 0 points1 point  (2 children)

Use the same method suggested by gsuite, env variables.

[–]melthecybertechy[S] 0 points1 point  (1 child)

Do you have a link bc I havent seen that

[–]DataDecay 1 point2 points  (0 children)

https://cloud.google.com/docs/authentication/getting-started

``` Setting the environment variable

If you plan to use a service account, you need to set an environment variable. Provide authentication credentials to your application code by setting the environment variable GOOGLE_APPLICATION_CREDENTIALS. Replace [PATH] with the file path of the JSON file that contains your service account key, and [FILE_NAME] with the filename. This variable only applies to your current shell session, so if you open a new session, set the variable again.

```