Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for authToken (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. internal/logger/help.go

    		config.HelpKV{
    			Key:         Endpoint,
    			Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. cmd/iam.go

    		if err != nil {
    			iamLogIf(ctx, fmt.Errorf("Unable to initialize AuthZPlugin from legacy OPA config: %w", err))
    		} else {
    			authZPluginCfg.URL = opaCfg.URL
    			authZPluginCfg.AuthToken = opaCfg.AuthToken
    			authZPluginCfg.Transport = opaCfg.Transport
    			authZPluginCfg.CloseRespFn = opaCfg.CloseRespFn
    		}
    	}
    
    	setGlobalAuthZPlugin(polplugin.New(authZPluginCfg))
    
    	sys.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			QueueDir:   env.Get(queueDirEnv, kv.Get(target.WebhookQueueDir)),
    			QueueLimit: uint64(queueLimit),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top