asm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package asm implements an external secret backend for AWS Secrets Manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackend

func NewBackend() backend.Backend

NewBackend returns an uninitialized Backend for AWS Secret Manager

Types

type Backend

type Backend struct {
	SecretsManager secretsmanageriface.SecretsManagerAPI
	// contains filtered or unexported fields
}

Backend represents a backend for AWS Secrets Manager

func (*Backend) Get

func (s *Backend) Get(key string, version string) (string, error)

Get retrieves the secret associated with key from AWS Secrets Manager

func (*Backend) Init

func (s *Backend) Init(parameters map[string]interface{}, credentials []byte) error

Init initializes the Backend for AWS Secret Manager

Jump to

Keyboard shortcuts

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