Redact pin and mac from config (#4657)
This commit is contained in:
parent
eeae2f0b97
commit
ea79afee58
1 changed files with 2 additions and 2 deletions
|
|
@ -153,9 +153,9 @@ func unwrap(err error) (res []string) {
|
|||
|
||||
func redact(src string) string {
|
||||
secrets := []string{
|
||||
"url", "uri", "host", "broker", // infrastructure
|
||||
"url", "uri", "host", "broker", "mac", // infrastructure
|
||||
"sponsortoken", "plant", // global settings
|
||||
"user", "password", // users
|
||||
"user", "password", "pin", // users
|
||||
"token", "access", "refresh", // tokens
|
||||
"ain", "id", "secret", "serial", "deviceid", "machineid", // devices
|
||||
"vin"} // vehicles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue