awskms

package
v0.0.0-...-83a8c6e Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *Config, hostname string) (providers.EncryptionClient, error)

New creates an instance of the KMS client.

Types

type Config

type Config struct {
	// Endpoint service endpoint, optional
	Endpoint string `json:"endpoint" yaml:"endpoint"`
	// Name of profile
	Profile string `json:"profile" yaml:"profile"`
	// Arn of key
	KeyArn string `json:"keyArn" yaml:"keyArn"`
	// Arn of role
	RoleArn string `json:"roleArn" yaml:"roleArn"`
	// Context of encryption, optional
	EncryptionContext map[string]*string `json:"encryptionContext,omitempty" yaml:"encryptionContext,omitempty"`
}

Config contains the details of connection.

Jump to

Keyboard shortcuts

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