secretmanager

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const VersionID = "version_id"

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	ProjectID string
	// contains filtered or unexported fields
}

Store contains and GCP secret manager client and project id

func NewSecreteManager

func NewSecreteManager(logger logger.Logger) *Store

NewSecreteManager returns new instance of `SecretManagerStore`

func (*Store) BulkGetSecret

BulkGetSecret retrieves all secrets in the store and returns a map of decrypted string/string values

func (*Store) GetSecret

GetSecret retrieves a secret using a key and returns a map of decrypted string

func (*Store) Init

func (s *Store) Init(metadataRaw secretstores.Metadata) error

Init creates a GCP secret manager client

Jump to

Keyboard shortcuts

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