config can globally delegate to secrets in v1.0.7+ (#983)

This commit is contained in:
Michael Quigley 2025-06-18 12:51:53 -04:00
parent ac658fb696
commit 6598fd6961
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -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"`