Closed kkocel closed 2 years ago
You can embed the GOOGLE_APPLICATION_CREDENTIALS
in an environment variable and have each person setup their own locally by putting the path in .gitignore
.
There's plenty of documentation on the best way to secure credentials depending on your use-case. That may be a good place to learn more.
Using service account json is a bit problematic since it requires storing json file in the repository in order to make tests work out of box. Maybe there could be other way to authenticate - eg. api key?