feat: add /search?q= endpoint — substring search across all vault fields
This commit is contained in:
1 parent
30ae00d5f4
commit
51a71739c9
3 files changed
+90
No files matched your search
@@ -126,6 +126,7 @@ func main() {
|
||||
api.Put("/secret/:name", h.UpdateSecret)
|
||||
api.Delete("/secret/:name", h.DeleteSecret)
|
||||
api.Get("/folders", h.ListFolders)
|
||||
api.Get("/search", h.SearchSecrets)
|
||||
api.Post("/refresh", h.RefreshCache)
|
||||
|
||||
// Graceful shutdown.
|
||||
|
||||
Reference in new issue
Block a user