cloudkms

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package cloudkms implements decryption of Cloud KMS encrypted ciphertext.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Decrypt(ctx context.Context, ciphertext string) ([]byte, error)
}

Client provides a high level Cloud KMS interface.

func NewClient

func NewClient(ctx context.Context, o auth.Options, keyPath string) (Client, error)

NewClient creates a new Cloud KMS client.

Jump to

Keyboard shortcuts

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