xvault

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyRoleSecretID = errors.New("RoleID and SecretID can't be empty")
	ErrEmptyBasePath     = errors.New("BasePath can't be empty")
)

Functions

This section is empty.

Types

type Client

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

func Initialize

func Initialize(v *viper.Viper) (*Client, error)

func (*Client) GetUsernamePassword

func (c *Client) GetUsernamePassword(stage string, key string) (string, string)

type Config

type Config struct {
	Address    string
	RoleID     string
	SecretID   string
	MaxRetries int
	BasePath   string
}

Jump to

Keyboard shortcuts

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