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:

  1. Connect to the Runtime API socket:

    $ sudo socat stdio unix-connect:/var/run/hapee-2.7/hapee-lb.sock
  2. Start an interactive session:

    prompt
  3. Show the mode:

    show anon
    Anonymized mode disabled
  4. Enable anonymization:

    set anon on
  5. Show the mode:

    show anon
    Anonymized mode enabled
    Key : 879053005

See also


Next up

show backend