This document discusses protecting sensitive configuration data in Go programs. It outlines three common problems when printing, logging, or JSON encoding sensitive data. The solution presented uses interfaces like fmt.Stringer, fmt.GoStringer, and json.Marshaler to obfuscate the sensitive data without changing existing code. An example is provided that brings these concepts together. The author encourages reaching out if there are any other questions.
1 of 25
Download to read offline
More Related Content
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
1. Episode #1.0.0 (2016-10-30) Level: Beginner
OctoLab Cookbook
Go lang tips and tricks:
protection of sensitive con?g data
25. Thank you for your attention!
Have questions?
Kamil Samigullin
a some developer
kamil@samigullin.info
@ikamilsk
github.com/kamilsk
linkedin.com/in/kamilsk