vault response models
Generated file — do not edit by hand. Regenerate from the repo root with
CGO_ENABLED=0 go run scripts/gen-response-models-md.go.
Part of the API response model reference, which explains the Response model and Origin columns. Route inventory: routes.md. Named payload structs: payload-shapes.md.
| Method | Path | Response model | Origin |
|---|---|---|---|
GET | /api/method/shc.vault.exists | MethodResponse[SecretExistsResponse] | handler |
POST | /api/method/shc.vault.export | MethodResponse[exportResponse] | handler |
POST | /api/method/shc.vault.import | MethodResponse[importResponse] | handler |
POST | /api/method/shc.vault.migrate | MethodResponse[MigrateResult] | handler |
POST | /api/method/shc.vault.rotate | MethodResponse[RotateResult] | handler |
GET | /api/method/shc.vault.status | MethodResponse[VaultStatusResponse] | handler |
POST | /api/method/shc.vault.unlock | MethodResponse[VaultUnlockResponse] | handler |
GET | /api/resource/Secret | MethodResponse[SecretListResponse] | handler |
POST | /api/resource/Secret | DocResponse[SecretResponse] | handler |
DELETE | /api/resource/Secret/* | MethodResponse[string] | handler |
GET | /api/resource/Secret/* | DocResponse[SecretValueResponse] | handler |
PUT | /api/resource/Secret/* | DocResponse[SecretResponse] | handler |
DELETE | /api/resource/Secret/{key:path} | MethodResponse[string] | handler |
GET | /api/resource/Secret/{key:path} | DocResponse[SecretValueResponse] | handler |
PUT | /api/resource/Secret/{key:path} | DocResponse[SecretResponse] | handler |
POST | /internal/vault/rekey | VaultInternalUnlockResponse | handler |
POST | /internal/vault/request-unlock | VaultInternalUnlockResponse | handler |
POST | /internal/vault/unlock | VaultInternalUnlockResponse | handler |
shc@docs:~$