Documentation ¶
Index ¶
- Variables
- func GetUnsealCommand(vaultKey string) (*exec.Cmd, error)
- func GetVaultVersion() (version string, err error)
- func LocalIsRunning() bool
- func LocalIsSetUp(folder string) bool
- func LocalSetEnv()
- func LocalSetup(folder string) error
- func LocalStart(folder string) (cmd *exec.Cmd, chanVaultErr chan error)
- func Read(path string) (secret map[string]string, err error)
- func Tree(path string, level int) (err error)
- func WriteHtpasswdFiles(configFile string, hashAlgorithm htpasswd.HashAlgorithm) (err error)
- type HtpasswdConfig
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var Dummy = false
VaultDummy enables a built in dummy
Functions ¶
func GetVaultVersion ¶
GetVaultVersion get the version of the installed vault command line program
func LocalIsRunning ¶
func LocalIsRunning() bool
func LocalIsSetUp ¶
func LocalSetEnv ¶
func LocalSetEnv()
func LocalSetup ¶
func WriteHtpasswdFiles ¶
func WriteHtpasswdFiles(configFile string, hashAlgorithm htpasswd.HashAlgorithm) (err error)
WriteHtpasswdFiles write them to files or update them
Types ¶
type HtpasswdConfig ¶
HtpasswdConfig config for htpasswd files
func ReadHtpasswdConfigFromFile ¶
func ReadHtpasswdConfigFromFile(filename string) (config HtpasswdConfig, err error)
ReadHtpasswdConfigFromFile read htpasswd config from a file
Click to show internal directories.
Click to hide internal directories.