Bootstrap FreeKB - Hashicorp Vault - Check Vault Health using REST API
Hashicorp Vault - Check Vault Health using REST API

Updated:   |  Hashicorp Vault articles

This assumes the following has already been done.

Here is how you could submit a request to the REST /v1/sys/health endpoint.

curl \
--request GET \
--header "X-Vault-Token: hvs.vND8VRSjt7pM7YvkIqECbAZY" \
--url https://vault.example.com/v1/sys/health

 

Something like this should be returned.

{
  "initialized":true,
  "sealed":false,
  "standby":true,
  "performance_standby":true,
  "replication_performance_mode":"disabled",
  "replication_dr_mode":"primary",
  "server_time_utc":1712205014,
  "version":"1.15.2+ent",
  "cluster_name":"vault-cluster-abdefg",
  "cluster_id":"1234abcd-5241-xyza-9876-1425dlkf1851",
  "license":{
    "state":"autoloaded",
    "expiry_time":"2026-06-30T00:00:00Z",
    "terminated":false
  }
}

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter bd3971 in the box below so that we can be sure you are a human.