secrets

package module
v0.0.0-...-b598ff4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

README

secrets

Go library for retrieving secrets from AWS Secrets Manager

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder interface {
	Encode(path string, v interface{}) error
}

type Manager

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

func NewManager

func NewManager(opts ...Option) (*Manager, error)

func (*Manager) Decode

func (m *Manager) Decode(path string, v interface{}) error

type Option

type Option func(o *options)

func WithParameterStore

func WithParameterStore(api ssmiface.SSMAPI) Option

type ParameterStore

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

func NewParameterStore

func NewParameterStore(opts ...Option) (*ParameterStore, error)

func (*ParameterStore) Decode

func (p *ParameterStore) Decode(path string, v interface{}) error

Jump to

Keyboard shortcuts

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