masking

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

masking hides secrets in files and replaces them with redacted text

masking hides secrets in files and replaces them with redacted text

masking hides secrets in files and replaces them with redacted text

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaskPAT added in v0.7.2

func MaskPAT(line string) string

func PromptForPAT added in v0.6.0

func PromptForPAT() (string, error)

func RemoveSecretsFromDremioConf

func RemoveSecretsFromDremioConf(configFile string) error

RemoveSecretsFromDremioConf takes a configuration file as an input and masks any potential secrets. It returns an error if it encounters any issue during the process.

func RemoveSecretsFromK8sJSON

func RemoveSecretsFromK8sJSON(k8sJSON string) (string, error)

Input: a json string of a k8s object

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL