Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SSHEngineDefaultName Default engine name. SSHEngineDefaultName = "ssh-test" // SSHEngineDefaultRoleName Default role name. SSHEngineDefaultRoleName = "general" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is main struct of Vault.
func (API) Mount ¶
func (a API) Mount(path string, mountInfo *api.MountInput) error
Mount enables SSH engine with a path.
type APIInterface ¶
type APIInterface interface { Mount(path string, input *api.MountInput) error Write(path string, options map[string]interface{}) (*api.Secret, error) Read(path string) (*api.Secret, error) }
APIInterface is an interface for Vault API.
type SecretDataNotFound ¶
SecretDataNotFound occurs when the requested fixture file does not exist.
func (SecretDataNotFound) Error ¶
func (e SecretDataNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.