From 6598fd6961dd847c89b629ce3a46191ba5439f7d Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Wed, 18 Jun 2025 12:51:53 -0400 Subject: [PATCH] config can globally delegate to secrets in v1.0.7+ (#983) --- sdk/golang/sdk/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/golang/sdk/config.go b/sdk/golang/sdk/config.go index 5d41c552..e7f5beee 100644 --- a/sdk/golang/sdk/config.go +++ b/sdk/golang/sdk/config.go @@ -1,14 +1,16 @@ package sdk import ( - "github.com/pkg/errors" "reflect" + + "github.com/pkg/errors" ) const ZrokProxyConfig = "zrok.proxy.v1" type FrontendConfig struct { Interstitial bool `json:"interstitial"` + AuthSecrets bool `json:"secrets_auth"` // v1.0.7+ delegates to secrets storage for auth config AuthScheme AuthScheme `json:"auth_scheme"` BasicAuth *BasicAuthConfig `json:"basic_auth"` OauthAuth *OauthConfig `json:"oauth"`