Reference
HAProxy Documentation
On this page
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:
nixsudo socat stdio tcp4-connect:127.0.0.1:9999nixsudo socat stdio tcp4-connect:127.0.0.1:9999 -
Start an interactive session:
nixpromptnixprompt -
Show the mode:
nixshow anonnixshow anonoutputtextAnonymized mode disabledoutputtextAnonymized mode disabled -
Enable anonymization:
nixset anon onnixset anon on -
Show the mode:
nixshow anonnixshow anonoutputtextAnonymized mode enabledKey : 879053005outputtextAnonymized mode enabledKey : 879053005
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?