Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InvalidArgumentError = errgo.New("invalid argument error") VaultError = errgo.New("vault error") )
Functions ¶
This section is empty.
Types ¶
type GithubLoginData ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
func NewVault ¶
func NewVault(srvCfg VaultConfig, log *logging.Logger) (*Vault, error)
func (*Vault) Extract ¶
extractSecret extracts a secret based on given variables Call a login method before calling this method.
func (*Vault) GithubLogin ¶
func (s *Vault) GithubLogin(data GithubLoginData) error
GithubLogin performs a standard Github authentication and initializes the vaultClient with the resulting token.
type VaultConfig ¶
Click to show internal directories.
Click to hide internal directories.