You are viewing documentation for version v1.11.x. View latest version.
The /sys/leader
endpoint is used to check the high availability status and
current leader of Vault.
This endpoint returns the high availability status and current leader instance of Vault.
Method | Path |
---|---|
GET | /sys/leader |
$ curl \ http://127.0.0.1:8200/v1/sys/leader
$ curl \
http://127.0.0.1:8200/v1/sys/leader
{ "ha_enabled": true, "is_self": false, "leader_address": "https://127.0.0.1:8200/", "leader_cluster_address": "https://127.0.0.1:8201/", "performance_standby": false, "performance_standby_last_remote_wal": 0 }
{
"ha_enabled": true,
"is_self": false,
"leader_address": "https://127.0.0.1:8200/",
"leader_cluster_address": "https://127.0.0.1:8201/",
"performance_standby": false,
"performance_standby_last_remote_wal": 0
}