code: func getRedactedConfig(s *service) config.Configuration {
  	rawConf := s.cfg.RawCopy()
  	rawConf.GUI.APIKey = "REDACTED"
  	if rawConf.GUI.Password != "" {
  		rawConf.GUI.Password = "REDACTED"
  	}
  	if rawConf.GUI.User != "" {
  		rawConf.GUI.User = "REDACTED"
  	}
  	return rawConf
  }
docs: // getRedactedConfig redacting some parts of config