Skip to content
SHC Docs

Vault API

  • router → prefix /api/resource/Secret (tags: Secret)
  • method_router → prefix /api/method (tags: Vault Methods)

Hand-maintained notes against modules/vault/router.go. Route inventory (generated): routes.md. Response models (generated): response-models/vault.md.

MethodPathPermission
GET/api/resource/Secret
POST/api/resource/Secret
DELETE/api/resource/Secret/{key:path}
GET/api/resource/Secret/{key:path}
PUT/api/resource/Secret/{key:path}
MethodPathPermission
GET/api/method/shc.vault.exists
GET/api/method/shc.vault.status
POST/api/method/shc.vault.unlock
POST/api/method/shc.vault.rotate
POST/api/method/shc.vault.migrate
POST/api/method/shc.vault.export
POST/api/method/shc.vault.import

Peer / bootstrap routes on the internal listener (not the public API):

MethodPath
POST/internal/vault/unlock
POST/internal/vault/rekey