signer

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertReq

type CertReq struct {
	Key        string
	ID         string
	Principals []string
}

CertReq represents certificate request

type Signer

type Signer interface {
	Init(config *viper.Viper) error
	Sign(ctx context.Context, payload []byte, id string, principals []string) (cert string, err error)
	ReadCA() (string, error)
}

Signer is the interface that wrap the SMK SSH Signing operation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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