http: revoke-prefix

This commit is contained in:
Mitchell Hashimoto
2015-03-31 19:23:32 -07:00
parent ea234d9cbf
commit f87089bcab
3 changed files with 43 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ func Handler(core *vault.Core) http.Handler {
mux.Handle("/v1/sys/unseal", handleSysUnseal(core))
mux.Handle("/v1/sys/mounts/", handleSysMounts(core))
mux.Handle("/v1/sys/revoke/", handleSysRevoke(core))
mux.Handle("/v1/sys/revoke-prefix/", handleSysRevokePrefix(core))
mux.Handle("/v1/", handleLogical(core))
return mux
}