Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// SPIFFE ID of Sentry.
SentryID spiffeid.ID `mapstructure:"-"`
// Location of the JWKS: a URL, path on local file, or the actual JWKS (optionally base64-encoded)
Source string `mapstructure:"source"`
// Optional CA certificate to trust. Can be a path to a local file or an actual, PEM-encoded certificate
CACertificate string `mapstructure:"caCertificate"`
// Minimum interval before the JWKS can be refrehsed if fetched from a HTTP(S) endpoint.
MinRefreshInterval time.Duration `mapstructure:"minRefreshInterval"`
// Timeout for network requests.
RequestTimeout time.Duration `mapstructure:"requestTimeout"`
// Healthz controls the healthz endpoint for the JWKS cache.
Healthz healthz.Healthz
}
Click to show internal directories.
Click to hide internal directories.