Versions in this module Expand all Collapse all v0 v0.1.1 Oct 21, 2026 v0.1.0 Oct 17, 2026 Changes in this version + var ErrInvalidToken = errors.New("invalid token") + var ErrIssuedBeforeStart = errors.New("token issued before this server started") + var ErrReplayCacheFull = errors.New("replay cache full") + var ErrReplayed = errors.New("token already used") + var ErrUnknownKID = errors.New("unknown kid") + func ConfigKeys() []string + func SPIFFEID(trustDomain string, c iid.Claims) string + func Selectors(c iid.Claims, allowedTags map[string]bool) []string + func Verify(token string, lookup KeyLookup, now time.Time, skew time.Duration) (iid.Header, iid.Claims, error) + type AuditSyslogConfig struct + AppName string + Enabled bool + Facility string + Socket string + type Config struct + AllowedProjectIDs []string + AllowedTagKeys []string + AuditSyslog *AuditSyslogConfig + ClockSkewTolerance string + JWKSCACertPath string + JWKSFetchTimeout string + JWKSMinRefetchInterval string + JWKSRefreshInterval string + JWKSStaleKeyRetention string + JWKSURL string + Reattest *bool + ReattestAlertWindow string + TLSMinVersion string + type KeyLookup func(kid string) (keystore.PublicKey, bool) + type Plugin struct + func New() *Plugin + func (p *Plugin) Attest(stream nodeattestorv1.NodeAttestor_AttestServer) error + func (p *Plugin) BrokerHostServices(broker pluginsdk.ServiceBroker) error + func (p *Plugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error) + func (p *Plugin) SetLogger(logger hclog.Logger)