Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for auth_token (0.08 sec)

  1. docs/logging/README.md

    Assuming `mc` is already [configured](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart)
    
    ```
    mc admin config get myminio/ logger_webhook
    logger_webhook:name1 auth_token="" endpoint=""
    ```
    
    ```
    mc admin config set myminio logger_webhook:name1 auth_token="" endpoint="http://endpoint:port/path"
    mc admin service restart myminio
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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)
  3. internal/config/policy/plugin/config.go

    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   EnableHTTP2,
    			Value: "off",
    		},
    	}
    )
    
    // Args for general purpose policy engine configuration.
    type Args struct {
    	URL         *xnet.URL             `json:"url"`
    	AuthToken   string                `json:"authToken"`
    	Transport   http.RoundTripper     `json:"-"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/logger/config.go

    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint      = "endpoint"
    	AuthToken     = "auth_token"
    	ClientCert    = "client_cert"
    	ClientKey     = "client_key"
    	BatchSize     = "batch_size"
    	QueueSize     = "queue_size"
    	QueueDir      = "queue_dir"
    	MaxRetry      = "max_retry"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    )
    
    func authNLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, "authN", err)
    }
    
    // Authentication Plugin config and env variables
    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    	EnvIdentityPluginURL        = "MINIO_IDENTITY_PLUGIN_URL"
    	EnvIdentityPluginAuthToken  = "MINIO_IDENTITY_PLUGIN_AUTH_TOKEN"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/testdata/undeleteable-object.tgz

    :"0"}]},"notify_webhook":{"_":[{"key":"enable","value":"off"},{"key":"endpoint","value":""},{"key":"auth_token","value":""},{"key":"queue_limit","value":"0"},{"key":"queue_dir","value":""},{"key":"client_cert","value":""},{"key":"client_key","value":""}]},"policy_opa":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""}]},"policy_plugin":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""},{"key":"enable_http2","value":"off"}]},"region":{"_":[{"key":"name","value":""}]},"scan...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_webhook[:name]  publish bucket notifications to webhook endpoints
    
    ARGS:
    endpoint*    (url)       webhook server endpoint e.g. http://localhost:8080/minio/events
    auth_token   (string)    opaque string or JWT authorization token
    queue_dir    (path)      staging dir for undelivered messages e.g. '/home/events'
    queue_limit  (number)    maximum limit for undelivered messages, defaults to '100000'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. 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)
Back to top