operator members
The operator members
lists the active node and the peers that it's heard from
since it became active.
Examples
Get the key status:
$ vault operator membersHost Name API Address Cluster Address ActiveNode Last Echo--------- ----------- --------------- ---------- ---------node1 http://10.0.0.2:8200 https://10.0.0.2:8201 true <nil>node2 http://10.0.0.3:8200 https://10.0.0.3:8201 false 2021-11-29 10:19:39.236409 -0500 ESTnode3 http://10.0.0.4:8200 https://10.0.0.4:8201 false 2021-11-29 10:19:37.436283 -0500 EST
Usage
The following flags are available in addition to the standard set of flags included on all commands.
Output Options
-format
(string: "table")
- Print the output in the given format. Valid formats are "table", "json", or "yaml". This can also be specified via theVAULT_FORMAT
environment variable.