hsm

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config, storage kv.Service) (kv.Service, error)

New returns a HSM backed KV encryptor. Currently RSA keys are supported only.

Types

type Config

type Config struct {
	ModulePath string
	SlotID     uint
	TokenLabel string
	Pin        string
	KeyLabel   string
}

Config holds the HSM access information

Jump to

Keyboard shortcuts

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