hsm

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 10 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