Documentation ¶
Overview ¶
Package rotation implements periodic secret rotation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RotationActor database.Auditable = new(rotationActor)
RotationActor is the actor in the database for rotation events.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.RotationConfig, db *database.Database, keyManager keys.SigningKeyManager, h *render.Renderer) *Controller
func (*Controller) HandleRotate ¶
func (c *Controller) HandleRotate() http.Handler
HandleRotate handles key rotation.
func (*Controller) HandleVerificationRotate ¶
func (c *Controller) HandleVerificationRotate() http.Handler
HandleVerificationRotate handles verification certificate key rotation.
Click to show internal directories.
Click to hide internal directories.