Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator interface { // Start starts the validator. Start(context.Context) error // Validate validates the identity of a certificate request. // Returns the Trust Domain of the certificate requester, and whether the // signed certificates duration should be overridden to the maximum time // permitted by the singing certificate. // TODO: @joshvanl remove the overrideDuration bool in v1.13 when injector no // longer needs to request other identities. Validate(context.Context, *sentryv1pb.SignCertificateRequest) (spiffeid.TrustDomain, bool, error) }
Validator is used to validate the identity of a certificate requester by using an ID and token. Returns the trust domain of the certificate requester.
Click to show internal directories.
Click to hide internal directories.