security

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD = iota
	DELETE
	RETRY
	Rotate
)

Variables

This section is empty.

Functions

func NewSecurityOptions

func NewSecurityOptions() *security.Options

Types

type CaClient

type CaClient interface {
	CsrSend(csrPEM []byte, certValidsec int64, identity string) ([]string, error)
	FetchCert(identity string) (*istiosecurity.SecretItem, error)
	Close() error
}

type SecretManager

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

func NewSecretManager

func NewSecretManager() (*SecretManager, error)

NewSecretManager creates a new secretManager

func (*SecretManager) Run

func (s *SecretManager) Run(stop <-chan struct{})

func (*SecretManager) SendCertRequest

func (s *SecretManager) SendCertRequest(identity string, op int)

func (*SecretManager) StoreCert

func (s *SecretManager) StoreCert(identity string, newCert *istiosecurity.SecretItem)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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