ephemeral

package
v0.9.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Labels map[string]string `json:"labels"`
	Usage  KeyUsageType      `json:"usage"`
	Secret []byte            `json:"sec,omitempty"`
}

func LoadKey

func LoadKey(r io.Reader) (*Key, error)

func NewKey

func NewKey(usage KeyUsageType, labels map[string]string) *Key

func (*Key) Validate

func (e *Key) Validate() error

type KeyUsageType

type KeyUsageType string
const (
	Authentication KeyUsageType = "auth"
)

Jump to

Keyboard shortcuts

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