Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAuthProviderConfigHcl ¶
func LoadAuthProviderConfigHcl(list *ast.ObjectList, providers *map[string]AuthProviderConfig) error
Types ¶
type AuthProviderConfig ¶
type AuthProviderConfig interface {
Type() string
}
type KeePassAuthProviderConfig ¶
type KeePassAuthProviderConfig struct { DbPath string `mapstructure:"db_path,"` UnlockCredential string `mapstructure:"unlock_credential,"` }
func (*KeePassAuthProviderConfig) Type ¶
func (t *KeePassAuthProviderConfig) Type() string
type StaticAuthConfig ¶
type StaticAuthConfig struct { Username string `mapstructure:"username,"` Password string `mapstructure:"password,"` Attributes map[string]string `mapstructure:"attributes,"` }
StaticAuthConfig represents a auth configuration block within a auth_provider "static" "..." {} block.
type StaticAuthProviderConfig ¶
type StaticAuthProviderConfig struct {
Auths map[string]*StaticAuthConfig
}
func (*StaticAuthProviderConfig) Type ¶
func (t *StaticAuthProviderConfig) Type() string
Click to show internal directories.
Click to hide internal directories.