pki

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager manages the public key infrastructure of a deployment

func NewManager

func NewManager(ctx context.Context, platform deployment.SecretPlatform, env string) (*Manager, error)

NewManager returns a new manager instance and creates keys if necessary

func (*Manager) IssueClient

func (manager *Manager) IssueClient(ctx context.Context, id string) error

IssueClient issues a new client certificate and saves it as secret

func (*Manager) IssueServer

func (manager *Manager) IssueServer(ctx context.Context, id string) error

IssueServer issues a new server certificate and saves it as secret

Jump to

Keyboard shortcuts

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