DEV Community

Discussion on: Using Secrets in Google Cloud Functions

Collapse
 
sergodeeva profile image
Natalya Kosenko

Thanks Dustin, very helpful article, I was able to set it up following your steps, it works!
I was just wondering if there a way to share the same code for accessing the secret between a few different google cloud functions. It's just does not feel right to copy-paste the secret-related code in each google cloud function. I was trying to find the answer from the Google documentation, but so far it looks like there is no easy way.