Documentation ¶
Overview ¶
Package realmkeys contains web controllers for realm certificate key management.
Index ¶
- type Controller
- func (c *Controller) HandleActivate() http.Handler
- func (c *Controller) HandleAutomaticRotate() http.Handler
- func (c *Controller) HandleCreateKey() http.Handler
- func (c *Controller) HandleDestroy() http.Handler
- func (c *Controller) HandleIndex() http.Handler
- func (c *Controller) HandleManualRotate() http.Handler
- func (c *Controller) HandleSave() http.Handler
- func (c *Controller) HandleUpgrade() http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.ServerConfig, db *database.Database, systemCertificationKeyManager keys.KeyManager, publicKeyCache *keyutils.PublicKeyCache, h *render.Renderer) *Controller
func (*Controller) HandleActivate ¶
func (c *Controller) HandleActivate() http.Handler
HandleActivate handles the endpoint for activating signing keys
func (*Controller) HandleAutomaticRotate ¶ added in v0.20.0
func (c *Controller) HandleAutomaticRotate() http.Handler
func (*Controller) HandleCreateKey ¶
func (c *Controller) HandleCreateKey() http.Handler
HandleCreateKey creates a new signing key version.
func (*Controller) HandleDestroy ¶ added in v0.5.1
func (c *Controller) HandleDestroy() http.Handler
HandleDestroy deletes a signing key version
func (*Controller) HandleIndex ¶
func (c *Controller) HandleIndex() http.Handler
HandleIndex renders a page that shows the list of signing keys.
func (*Controller) HandleManualRotate ¶ added in v0.20.0
func (c *Controller) HandleManualRotate() http.Handler
func (*Controller) HandleSave ¶
func (c *Controller) HandleSave() http.Handler
HandleSave handles saving certificate settings to the current realm.
func (*Controller) HandleUpgrade ¶
func (c *Controller) HandleUpgrade() http.Handler
HandleUpgrade handles an endpoint to update a realm to use its own certificate settings.
Click to show internal directories.
Click to hide internal directories.