cloudkms

package
v0.0.0-...-df16b1f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 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