HAProxy Enterprise Documentation 2.7r1
show anon
Display the current state of anonymized mode.
Description
Display the current state of anonymized mode (enabled or disabled) and the current session's key.
In anonymized mode, fields in command outputs that are considered sensitive or confidential are obscured with hashes. To enable anonymized mode, use the set anon
CLI command.
Examples
Show the anonymized mode:
-
Connect to the Runtime API socket:
$ sudo socat stdio unix-connect:/var/run/hapee-2.7/hapee-lb.sock
-
Start an interactive session:
prompt
-
Show the mode:
show anon
Anonymized mode disabled
-
Enable anonymization:
set anon on
-
Show the mode:
show anon
Anonymized mode enabled Key : 879053005
See also
Next up
show backend