kms

package
v2.3.0-pre Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstellationKMS

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

ConstellationKMS is a key service to fetch volume keys.

func NewConstellationKMS

func NewConstellationKMS(endpoint string) *ConstellationKMS

NewConstellationKMS initializes a ConstellationKMS.

func (*ConstellationKMS) GetDEK

func (k *ConstellationKMS) GetDEK(ctx context.Context, dekID string, dekSize int) ([]byte, error)

GetDEK request a data encryption key derived from the Constellation's master secret.

Jump to

Keyboard shortcuts

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