authenticator

package
v1.2.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidServiceAccountKeyFile

func IsValidServiceAccountKeyFile(file string) bool

IsValidServiceAccountKeyFile returns true if a valid public RSA key can be read from the given file

func New

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL