package authenticator
import "k8s.io/kubernetes/pkg/apiserver/authenticator"
Index ¶
- func IsValidServiceAccountKeyFile(file string) bool
- func New(config AuthenticatorConfig) (authenticator.Request, error)
- type AuthenticatorConfig
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 OIDCGroupsClaim string ServiceAccountKeyFile string ServiceAccountLookup bool ServiceAccountTokenGetter serviceaccount.ServiceAccountTokenGetter KeystoneURL string WebhookTokenAuthnConfigFile string WebhookTokenAuthnCacheTTL time.Duration }
Source Files ¶
authn.go
- Version
- v1.4.0-beta.5
- Published
- Sep 15, 2016
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 2 minutes ago –
Tools for package owners.