Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidServiceAccountKeyFile ¶
IsValidServiceAccountKeyFile returns true if a valid public RSA key can be read from the given file
func New ¶
func New(config AuthenticatorConfig) (authenticator.Request, error)
New returns an authenticator.Request or an error that supports the standard Kubernetes authentication mechanisms.
Types ¶
type AuthenticatorConfig ¶
type AuthenticatorConfig struct { BasicAuthFile string ClientCAFile string TokenAuthFile string OIDCIssuerURL string OIDCClientID string OIDCCAFile string OIDCUsernameClaim string ServiceAccountKeyFile string ServiceAccountLookup bool ServiceAccountTokenGetter serviceaccount.ServiceAccountTokenGetter KeystoneURL string }
Click to show internal directories.
Click to hide internal directories.