Using SOPS and git hooks to share secrets — Part 2

Richard Fan
Level Up Coding
Published in
6 min readMar 19, 2020

--

What we have done so far

In part 1, we have set up our repository to use Mozilla SOPS to encrypt secret files before commit. But the encryption/decryption process still relies on human interaction, which is not a good practice in DevOps. In part 2, we are going to automate this process using githooks.

What is githooks

--

--