diff --git a/cmd/root.go b/cmd/root.go index 2d288d196..bd0d613cf 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -154,8 +154,9 @@ func unwrap(err error) (res []string) { func redact(src string) string { secrets := []string{ "url", "uri", "host", "broker", // infrastructure + "sponsortoken", "plant", // global settings "user", "password", // users - "token", "access", "refresh", "sponsortoken", // tokens + "token", "access", "refresh", // tokens "ain", "id", "secret", "serial", "deviceid", "machineid", // devices "vin"} // vehicles return regexp.