awskms

package
v0.0.0-...-43207eb Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PrivateKeyEncryptionContext = "pubkey"

Variables

This section is empty.

Functions

func GetKMSClient

func GetKMSClient(awsRegion string) (*kms.KMS, error)

func GetPrivateKeyEncryptionContext

func GetPrivateKeyEncryptionContext(publicKey string) map[string]*string

Types

type KMSMock

type KMSMock struct {
	kmsiface.KMSAPI
	mock.Mock
}

func (*KMSMock) Decrypt

func (k *KMSMock) Decrypt(input *kms.DecryptInput) (*kms.DecryptOutput, error)

func (*KMSMock) Encrypt

func (k *KMSMock) Encrypt(input *kms.EncryptInput) (*kms.EncryptOutput, error)

Jump to

Keyboard shortcuts

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