http: generic read/write endpoint for secrets

This commit is contained in:
Mitchell Hashimoto
2015-03-15 19:34:47 -07:00
parent 210e2ac994
commit 05d37bf9f1
4 changed files with 123 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ func Handler(core *vault.Core) http.Handler {
mux.Handle("/v1/sys/seal-status", handleSysSealStatus(core))
mux.Handle("/v1/sys/seal", handleSysSeal(core))
mux.Handle("/v1/sys/unseal", handleSysUnseal(core))
mux.Handle("/v1/", handleLogical(core))
return mux
}