Reference
HAProxy Documentation
title: show anon description: Display the current state of anonymized mode. Jump to heading
Available since
- HAProxy 2.7
- HAProxy Enterprise 2.7r1
Display the current state of anonymized mode.
Description Jump to heading
Display the current state of anonymized mode (enabled or disabled) and the current session’s key.
Warning
Do not share the key unless necessary. It can be used to reveal hidden sensitive information.
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 Jump to heading
Show the anonymized mode:
-
Connect to the Runtime API socket:
bashsudo socat stdio tcp4-connect:127.0.0.1:9999bashsudo socat stdio tcp4-connect:127.0.0.1:9999 -
Start an interactive session:
bashpromptbashprompt -
Show the mode:
bashshow anonbashshow anonoutputbashAnonymized mode disabledoutputbashAnonymized mode disabled -
Enable anonymization:
bashset anon onbashset anon on -
Show the mode:
bashshow anonbashshow anonoutputbashAnonymized mode enabledKey : 879053005outputbashAnonymized mode enabledKey : 879053005
See also Jump to heading
If this page was useful, please, Leave the feedback.