Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRotator ¶
type DefaultRotator struct {
// contains filtered or unexported fields
}
DefaultRotator performs simple on-disk certificate rotation for the server/node certificate described by config.PKIConfig. It renews when the current certificate is within the RenewBefore window. If the cluster CA material is available via PLOY_SERVER_CA_CERT and PLOY_SERVER_CA_KEY, it reissues a certificate with the same subject and SANs using the existing private key. Otherwise, it logs a structured warning so operators can rotate out-of-band.
func NewDefaultRotator ¶
func NewDefaultRotator(logger *slog.Logger) *DefaultRotator
NewDefaultRotator creates a new DefaultRotator instance.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager supervises certificate renewal.
Click to show internal directories.
Click to hide internal directories.