realmkeys

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package realmkeys contains web controllers for realm certificate key management.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL