Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertEvent ¶ added in v0.1.1
type CertEvent struct {
PolicyID string
DirectoryRevision string
Timestamp time.Time
SerialNumber string
ID string // Authenticated directory ID.
UserName string
Principals []string
Connection wire.Connection
ValidAfter time.Time
ValidBefore time.Time
Extensions map[string]string
CertFingerprint string
PublicKeyFingerprint string
}
CertEvent contains all information about a certificate issuance event.
type CertLogger ¶ added in v0.1.1
CertLogger logs certificate issuance events for audit, compliance, and analytics.
type NoopCertLogger ¶ added in v0.1.1
type NoopCertLogger struct{}
NoopCertLogger is a logger that does nothing. Used when certificate logging is disabled.
func NewNoopCertLogger ¶ added in v0.1.1
func NewNoopCertLogger() *NoopCertLogger
NewNoopCertLogger creates a no-op logger.
type SlogCertLogger ¶ added in v0.1.1
type SlogCertLogger struct {
// contains filtered or unexported fields
}
SlogCertLogger logs certificate events using structured logging (slog). Works with any slog handler (text, JSON, CloudWatch, etc.).
func NewSlogCertLogger ¶ added in v0.1.1
func NewSlogCertLogger(logger *slog.Logger) *SlogCertLogger
NewSlogCertLogger creates a new certificate logger that emits structured logs.
Click to show internal directories.
Click to hide internal directories.