kms

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &softkms.SoftKMS{}

Default is the implementation of the default KMS.

Functions

func CertFS

func CertFS(ctx context.Context, kmsuri string) (fs.FS, error)

CertFS creates a new io/fs with the given KMS URI.

func KeyFS

func KeyFS(ctx context.Context, kmsuri string) (fs.FS, error)

KeyFS creates a new KeyFS with the given KMS URI.

Types

type CertificateManager

type CertificateManager = apiv1.CertificateManager

CertificateManager is the interface implemented by the KMS that can load and store x509.Certificates.

type KeyManager

type KeyManager = apiv1.KeyManager

KeyManager is the interface implemented by all the KMS.

func New

func New(ctx context.Context, opts apiv1.Options) (KeyManager, error)

New initializes a new KMS from the given type.

type Options

type Options = apiv1.Options

Options are the KMS options. They represent the kms object in the ca.json.

type Type added in v0.17.2

type Type = apiv1.Type

Type represents the KMS type used.

Directories

Path Synopsis
internal/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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