http: audit endpoints

This commit is contained in:
Mitchell Hashimoto
2015-04-01 18:36:13 -07:00
parent a8390aa2db
commit 47d52be3ae
4 changed files with 200 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ func Handler(core *vault.Core) http.Handler {
mux.Handle("/v1/sys/revoke/", handleSysRevoke(core))
mux.Handle("/v1/sys/revoke-prefix/", handleSysRevokePrefix(core))
mux.Handle("/v1/sys/auth/", handleSysAuth(core))
mux.Handle("/v1/sys/audit", handleSysListAudit(core))
mux.Handle("/v1/sys/audit/", handleSysAudit(core))
mux.Handle("/v1/", handleLogical(core))
return mux
}