Documentation ¶
Overview ¶
Package jwks manages downloading and updating the keys from a JWKS source for keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database database.Config SecretManager secrets.Config Port string `env:"PORT, default=8080"` // MaxRuntime is how long an individual handler should run. MaxRuntime time.Duration `env:"MAX_RUNTIME, default=10m"` // RequestTimeout is the client per-request timeout when accessing // remote JWKS documents. RequestTimeout time.Duration `env:"REQUEST_TIMEOUT, default=30s"` KeyCleanupTTL time.Duration `env:"HEALTH_AUTHORITY_KEY_CLEANUP_TTL, default=720h"` // 30 days // MaxWorkers is the number of parallel JWKS updates that can occur. MaxWorkers uint `env:"MAX_WORKERS, default=5"` }
func (*Config) DatabaseConfig ¶
func (*Config) SecretManagerConfig ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles updating all HealthAuthorities if they've specified a JWKS URI.
Click to show internal directories.
Click to hide internal directories.