security

package
v1.0.0-dev.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretProvider

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

func NewSecret

func NewSecret() *SecretProvider

func (*SecretProvider) CreateClient

func (s *SecretProvider) CreateClient(
	loggingClient logger.LoggingClient,
	configuration common.ConfigurationStruct) bool

SecretClientBootstrapHandler creates a secretClient to be used for obtaining secrets from a SecretProvider store manager. NOTE: This BootstrapHandler is responsible for creating a utility that will most likely be used by other BootstrapHandlers to obtain sensitive data, such as database credentials. This BootstrapHandler should be processed before other BootstrapHandlers, possibly even first since it has not other dependencies.

func (*SecretProvider) GetDatabaseCredentials

func (s *SecretProvider) GetDatabaseCredentials(database db.DatabaseInfo) (common.Credentials, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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