- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for authToken (0.08 sec)
-
internal/config/policy/opa/config.go
if opaURL == "" { return args, nil } } authToken := env.Get(EnvIamOpaAuthToken, "") if authToken == "" { authToken = env.Get(EnvPolicyOpaAuthToken, kv.Get(AuthToken)) } u, err := xnet.ParseHTTPURL(opaURL) if err != nil { return args, err } args = Args{ URL: u, AuthToken: authToken, Transport: transport, CloseRespFn: closeRespFn, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/config/lambda/target/webhook.go
if err != nil { return nil, err } // Verify if the authToken already contains // <Key> <Token> like format, if this is // already present we can blindly use the // authToken as is instead of adding 'Bearer' tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:39:49 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
Type: "url", }, config.HelpKV{ Key: AuthToken, Description: "authorization token for plugin hook endpoint" + defaultHelpPostfix(AuthToken), Optional: true, Type: "string", Sensitive: true, Secret: true, }, config.HelpKV{ Key: RolePolicy,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/event/target/webhook.go
if err != nil { return err } // Verify if the authToken already contains // <Key> <Token> like format, if this is // already present we can blindly use the // authToken as is instead of adding 'Bearer' tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
internal/logger/legacy.go
config.KV{ Key: config.Enable, Value: config.EnableOn, }, config.KV{ Key: Endpoint, Value: args.Endpoint.String(), }, config.KV{ Key: AuthToken, Value: args.AuthToken, }, } } // SetLoggerHTTP helper for migrating older config to newer KV format. func SetLoggerHTTP(scfg config.Config, k string, args http.Config) { if !args.Enabled {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 03 09:47:07 UTC 2023 - 2K bytes - Viewed (0) -
internal/config/policy/plugin/config.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/logger/config.go
return cfg, fmt.Errorf("maximum allowed value for retry interval is '1m': %s", retryIntervalCfgVal) } cfg.HTTP[k] = http.Config{ Enabled: true, Endpoint: url, AuthToken: getCfgVal(EnvLoggerWebhookAuthToken, k, kv.Get(AuthToken)), ClientCert: clientCert, ClientKey: clientKey, Proxy: getCfgVal(EnvLoggerWebhookProxy, k, kv.Get(Proxy)), BatchSize: batchSize, QueueSize: queueSize,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 20 16:02:50 UTC 2024 - 18.3K bytes - Viewed (0) -
internal/config/policy/opa/legacy.go
return } s[config.PolicyOPASubSys][config.Default] = config.KVS{ config.KV{ Key: URL, Value: opaArgs.URL.String(), }, config.KV{ Key: AuthToken, Value: opaArgs.AuthToken, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
internal/logger/target/http/http.go
Enabled bool `json:"enabled"` Name string `json:"name"` UserAgent string `json:"userAgent"` Endpoint *xnet.URL `json:"endpoint"` AuthToken string `json:"authToken"` ClientCert string `json:"clientCert"` ClientKey string `json:"clientKey"` BatchSize int `json:"batchSize"` QueueSize int `json:"queueSize"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
internal/grid/manager.go
// Sign a token for the given audience. AuthFn AuthFn // Callbacks to validate incoming connections. AuthToken ValidateTokenFn } // NewManager creates a new grid manager func NewManager(ctx context.Context, o ManagerOptions) (*Manager, error) { found := false if o.AuthToken == nil { return nil, fmt.Errorf("grid: AuthToken not set") } if o.Dialer == nil { return nil, fmt.Errorf("grid: Dialer not set") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 10.6K bytes - Viewed (0)