diff --git a/client.go b/client.go index b8611d3..e0b983f 100644 --- a/client.go +++ b/client.go @@ -45,7 +45,7 @@ type InfisicalClientInterface interface { type Config struct { SiteUrl string `default:"https://app.infisical.com"` - CaCertificate string `default:""` + CaCertificate string UserAgent string `default:"infisical-go-sdk"` // User-Agent header to be used on requests sent by the SDK. Defaults to `infisical-go-sdk`. Do not modify this unless you have a reason to do so. AutoTokenRefresh bool `default:"true"` // Wether or not to automatically refresh the auth token after using one of the .Auth() methods. Defaults to `true`. SilentMode bool `default:"false"` // If enabled, the SDK will not print any warnings to the console. @@ -155,7 +155,6 @@ func (c *InfisicalClient) UpdateConfiguration(config Config) { util.PrintWarning("failed to append CA certificate") } - // Create a TLS configuration with the custom CA pool tlsConfig := &tls.Config{ RootCAs: caCertPool, }