auth

package
v1.14.0-snapshot.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"auth-manager",
	"Authenticates requests as demanded by policy",

	spire.Cell,

	cell.Invoke(newManager),
	cell.ProvidePrivate(
		newSignalRegistration,

		newNullAuthHandler,

		newMTLSAuthHandler,

		newAlwaysFailAuthHandler,
	),
	cell.Config(config{MeshAuthQueueSize: 1024}),
	cell.Config(MTLSConfig{}),
)

Cell invokes authManager which is responsible for request authentication. It does this by registering to "auth required" signals from the signal package and reacting upon received signal events. Actual authentication gets performed by an auth handler which is responsible for the configured auth type on the corresponding policy.

Functions

This section is empty.

Types

type MTLSConfig

type MTLSConfig struct {
	MTLSListenerPort int `mapstructure:"mesh-auth-mtls-listener-port"`
}

func (MTLSConfig) Flags

func (cfg MTLSConfig) Flags(flags *pflag.FlagSet)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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