Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtectPhrase ¶
func ProtectPhrase(phrase string)
ProtectPhrase will cause the provided phrase to be redacted (also base64 encoded values)
func RedactProtectedPhrases ¶
RedactProtectedPhrases redacts all protected phrases in the input string (replace with ***)
Types ¶
type FileProxyWriter ¶
type FileProxyWriter struct {
// contains filtered or unexported fields
}
func NewProtectedWriter ¶
func NewProtectedWriter(file *os.File, writer io.Writer) *FileProxyWriter
NewProtectedWriter proxies all output to stdout/stderr to omit/remove any kind of credentials from all logs
Click to show internal directories.
Click to hide internal directories.