Google Cloud Functions - How to securely store service account private key when using Google Source Repository?
问题 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 file, I therefore created a Service Account. (With way too many rights since it's so hard to understand what exact rights we should give to a service account, and so hard to update later on, but I digress) Now, it's clearly not recommended to store the Service Account JSON file in the git repository itself for obvious reasons. Here