mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 14:11:10 +01:00
Add handling of LIST verb to logical router
This commit is contained in:
parent
eaba2b9df3
commit
fdc7e717ee
@ -38,6 +38,8 @@ func handleLogical(core *vault.Core, dataOnly bool) http.Handler {
|
|||||||
op = logical.ListOperation
|
op = logical.ListOperation
|
||||||
case "POST", "PUT":
|
case "POST", "PUT":
|
||||||
op = logical.UpdateOperation
|
op = logical.UpdateOperation
|
||||||
|
case "LIST":
|
||||||
|
op = logical.ListOperation
|
||||||
default:
|
default:
|
||||||
respondError(w, http.StatusMethodNotAllowed, nil)
|
respondError(w, http.StatusMethodNotAllowed, nil)
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user