seal

package
v0.0.0-...-e3b7beb Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Raw

type Raw struct {
	Value     string `json:"value"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Scope     string `json:"scope"`
}

type Sealer

type Sealer interface {
	Raw(data Raw) ([]byte, error)
	Certificate(ctx context.Context) ([]byte, error)
	Seal(outputFormat string, secret io.Reader) ([]byte, error)
	Validate(ctx context.Context, secret io.Reader) error
}

func NewAPISealer

func NewAPISealer(ctx context.Context, ss config.SealedSecrets) (Sealer, error)

Jump to

Keyboard shortcuts

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