awskms

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 29 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.Plugin

Types

type Config

type Config struct {
	AccessKeyID     string `hcl:"access_key_id" json:"access_key_id"`
	SecretAccessKey string `hcl:"secret_access_key" json:"secret_access_key"`
	Region          string `hcl:"region" json:"region"`
	KeyMetadataFile string `hcl:"key_metadata_file" json:"key_metadata_file"`
}

Config provides configuration context for the plugin

type Plugin

type Plugin struct {
	keymanager.UnsafeKeyManagerServer
	// contains filtered or unexported fields
}

Plugin is the main representation of this keymanager plugin

func New

func New() *Plugin

New returns an instantiated plugin

func (*Plugin) Configure

Configure sets up the plugin

func (*Plugin) GenerateKey

GenerateKey creates a key in KMS. If a key already exists in the local storage, it is updated.

func (*Plugin) GetPluginInfo

GetPluginInfo returns information about this plugin

func (*Plugin) GetPublicKey

GetPublicKey returns the public key for a given key

func (*Plugin) GetPublicKeys

GetPublicKeys return the publicKey for all the keys

func (*Plugin) SetLogger

func (p *Plugin) SetLogger(log hclog.Logger)

SetLogger sets a logger

func (*Plugin) SignData

SignData creates a digital signature for the data to be signed

Jump to

Keyboard shortcuts

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