auth

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package auth provides routines to manage mutual authentication identities in Cilium. If enabled, the operator will watch for CiliumIdentity resources and provision corresponding external identities such as SPIFFE identities.

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"auth-identity",
	"Cilium Mutual Authentication Identity management",
	spire.Cell,
	cell.Config(Config{}),
	cell.Invoke(registerIdentityWatcher),
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled bool `mapstructure:"mesh-auth-mutual-enabled"`
}

Config contains the configuration for the identity-gc.

func (Config) Flags

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

Flags implements cell.Flagger interface.

type IdentityWatcher

type IdentityWatcher struct {
	// contains filtered or unexported fields
}

IdentityWatcher represents the Cilium identities watcher. It watches for Cilium identities and upserts or deletes them in Spire.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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