- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RedactSecrets (0.2 sec)
-
internal/config/config.go
// variables for which support needs to be added. // // When redactSecrets is true, the returned value is empty if the configuration // parameter is a secret, and the returned isRedacted flag is set. func (c Config) ResolveConfigParam(subSys, target, cfgParam string, redactSecrets bool, ) (value string, cs ValueSource, isRedacted bool) { // cs = ValueSourceAbsent initially as it is iota by default.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 37.8K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} // Convert to v1 schema which has proper encoding fullYaml, err := yaml.Marshal(lcfg) if err != nil { return kubeconfig{}, err } // Log with redaction if err := api.RedactSecrets(kcfg); err != nil { return kubeconfig{}, err } for _, c := range kcfg.Clusters { // Not actually sensitive, just annoyingly verbose. c.CertificateAuthority = "REDACTED" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 4.8K bytes - Viewed (0)