Secure your credentials in Google Cloud Functions with Secret Manager
Published in
3 min readNov 26, 2021
We know hard-coding credentials in our source code isn’t safe, but the thing that isn’t safe about using them in environment variables is that third party dependencies or libraries have access to these variables during runtime. Also, the use of some frameworks can result in the contents of environment variables being sent to logs.