Google Cloud Functions - How to securely store service account private key when using Google Source Repository?

后端 未结 6 1017
醉酒成梦
醉酒成梦 2020-12-29 15:35

I use Google Source Repository to store my Google Cloud Functions. (Git repo hosted by Google, basically)

One of my function needs to access a private Google Sheet f

6条回答
  •  暖寄归人
    2020-12-29 16:41

    Here you could find how to provide credentials to your application, using the environment variable GOOGLE_APPLICATION_CREDENTIALS.

提交回复
热议问题