kms_key

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(kmsClient *aws.KMSClient) *Getter

func (*Getter) Get

func (g *Getter) Get(alias string, output printer.Output, options resource.Options) error

func (*Getter) GetAllKeys

func (g *Getter) GetAllKeys() ([]*KMSKey, error)

func (*Getter) GetByAlias

func (g *Getter) GetByAlias(aliasName string) (*KMSKey, error)

func (*Getter) Init

func (g *Getter) Init()

type KMSKey

type KMSKey struct {
	Aliases []types.AliasListEntry
	Key     *types.KeyMetadata
}

type KmsKeyOptions

type KmsKeyOptions struct {
	resource.CommonOptions
}

type KmsKeyPrinter

type KmsKeyPrinter struct {
	// contains filtered or unexported fields
}

func NewPrinter

func NewPrinter(keys []*KMSKey) *KmsKeyPrinter

func (*KmsKeyPrinter) PrintJSON

func (p *KmsKeyPrinter) PrintJSON(writer io.Writer) error

func (*KmsKeyPrinter) PrintTable

func (p *KmsKeyPrinter) PrintTable(writer io.Writer) error

func (*KmsKeyPrinter) PrintYAML

func (p *KmsKeyPrinter) PrintYAML(writer io.Writer) error

Jump to

Keyboard shortcuts

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