Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfigFile ¶
type AppConfigFile struct {
Base BaseConfig
}
AppConfigFile represents a keymaster client configuration file
func LoadVerifyConfigFile ¶
func LoadVerifyConfigFile(configFilename string) (AppConfigFile, error)
LoadVerifyConfigFile reads, verifies, and returns the contents of a keymaster configuration file. LoadVerifyConfigFile returns an error if the configuration file is invalid.
type BaseConfig ¶
type BaseConfig struct {
AddGroups bool `yaml:"add_groups"`
AgentConfirmUse bool `yaml:"agent_confirm_use"`
FilePrefix string `yaml:"file_prefix"`
Gen_Cert_URLS string `yaml:"gen_cert_urls"`
PreferredKeyType string `yaml:"preferred_key_type"`
Username string `yaml:"username"`
WebauthBrowser string `yaml:"webauth_browser"`
}
Click to show internal directories.
Click to hide internal directories.