Documentation ¶
Index ¶
Constants ¶
View Source
const AuthClient = "credhub_cli"
View Source
const AuthPassword = ""
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func ConfigPath() string
func ReadOrGetCaCerts ¶
func RemoveConfig ¶
func RemoveConfig() error
func ValidateConfig ¶
func ValidateConfigApi ¶
func WriteConfig ¶
Types ¶
type Config ¶
type Config struct { ConfigWithoutSecrets ClientID string ClientSecret string }
func ReadConfig ¶
func ReadConfig() Config
func (*Config) UpdateTrustedCAs ¶
type ConfigWithoutSecrets ¶
type ConfigWithoutSecrets struct { ApiURL string AuthURL string AccessToken string RefreshToken string InsecureSkipVerify bool CaCerts []string ServerVersion string }
func ConvertConfigToConfigWithoutSecrets ¶
func ConvertConfigToConfigWithoutSecrets(config Config) ConfigWithoutSecrets
Click to show internal directories.
Click to hide internal directories.