kms

package
v2.4.0-pre Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client interacts with Constellation's key management service.

func New

func New(log *logger.Logger, endpoint string) Client

New creates a new KMS.

func (Client) GetDataKey

func (c Client) GetDataKey(ctx context.Context, keyID string, length int) ([]byte, error)

GetDataKey returns a data encryption key for the given UUID.

Jump to

Keyboard shortcuts

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