Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LdapCredentials ¶
LdapCredentials ...
func (LdapCredentials) Get ¶
func (l LdapCredentials) Get() (interface{}, error)
Get ... just returns itself on calls to Get()
type LdapPlugin ¶
type LdapPlugin struct { Credentials VaultCredentials VaultURL string }
LdapPlugin ..
func (*LdapPlugin) Auth ¶
func (l *LdapPlugin) Auth(credential VaultCredentials) (string, error)
Auth ...
func (*LdapPlugin) GetCredentials ¶
func (l *LdapPlugin) GetCredentials(req *http.Request) (VaultCredentials, error)
GetCredentials ...
type VaultAuthenticator ¶
type VaultAuthenticator interface { Auth(credential VaultCredentials) (string, error) GetCredentials(req *http.Request) (VaultCredentials, error) }
VaultAuthenticator ... Interface for vault authenticators
type VaultCredentials ¶
type VaultCredentials interface {
Get() (interface{}, error)
}
VaultCredentials ... Interface for credentials for vault
Click to show internal directories.
Click to hide internal directories.