Stranger danger — Prevent the leaking of secrets when committing code

Weiyuan
6 min readMay 31, 2020
When you accidentally commit secrets into your code, it seems as if the world is on fire — source: pixabay, author: 272447

Developers are required to develop solutions, write code.

However, as humans, it is inevitable that we make mistakes. In some instances, this would include leaking secrets via the commits to our codebases. How can we minimise or prevent such incidents from occurring?

Introduction

--

--

Weiyuan

Senior Engineering Manager, Ascenda Loyalty | Former Engineering Manager, Grab | Former Director of Engineering, ZilLearn | bit.ly/weiyuan