vault-api
Installation
SKILL.md
Vault API
Overview
Vault exposes a RESTful JSON API on port 8200. All requests include X-Vault-Token header for authenticated endpoints. Unauthenticated endpoints (health, init) need no token.
Base URL: http://vault.vault:8200 (in-cluster) or https://vault.kubexa.tech (external via Gateway).
API Endpoints
System
| Method | Endpoint | Description | Auth |
|---|---|---|---|
GET |
/v1/sys/health |
Cluster health (see status codes below) | No |
GET |
/v1/sys/seal-status |
Seal status | No |
PUT |
/v1/sys/init |
Initialize cluster | No |
PUT |
/v1/sys/unseal |
Unseal (submit key share) | No |
GET |
/v1/sys/leader |
Current leader info | No |