Add support for multiple ssh roots.

Fixes #125
This commit is contained in:
Mariano Cano 2019-10-08 18:09:41 -07:00 committed by max furman
parent 91130b9c3f
commit b5bc249e1c
6 changed files with 174 additions and 46 deletions

View file

@ -253,6 +253,7 @@ func (h *caHandler) Route(r Router) {
// SSH CA
r.MethodFunc("POST", "/ssh/sign", h.SignSSH)
r.MethodFunc("GET", "/ssh/keys", h.SSHKeys)
r.MethodFunc("GET", "/ssh/federation", h.SSHFederatedKeys)
r.MethodFunc("POST", "/ssh/config", h.SSHConfig)
r.MethodFunc("POST", "/ssh/config/{type}", h.SSHConfig)