Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Hosken (0.2 sec)

  1. cmd/auth-handler.go

    	token := getSessionToken(r)
    	if token != "" && cred.AccessKey == "" {
    		// x-amz-security-token is not allowed for anonymous access.
    		return nil, ErrNoAccessKey
    	}
    
    	if token == "" && cred.IsTemp() && !cred.IsServiceAccount() {
    		// Temporary credentials should always have x-amz-security-token
    		return nil, ErrInvalidToken
    	}
    
    	if token != "" && !cred.IsTemp() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. internal/event/target/nats.go

    		connOpts = append(connOpts, nats.UserInfo(n.Username, n.Password))
    	}
    	if n.UserCredentials != "" {
    		connOpts = append(connOpts, nats.UserCredentials(n.UserCredentials))
    	}
    	if n.Token != "" {
    		connOpts = append(connOpts, nats.Token(n.Token))
    	}
    	if n.Secure || n.TLS && n.TLSSkipVerify {
    		connOpts = append(connOpts, nats.Secure(nil))
    	} else if n.TLS {
    		connOpts = append(connOpts, nats.Secure(&tls.Config{RootCAs: n.RootCAs}))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("bucket create error: %v", err)
    	}
    
    	// Generate web identity STS token by interacting with OpenID IDP.
    	token, err := MockOpenIDTestUserInteraction(ctx, testAppParams, "******@****.***", "dillon")
    	if err != nil {
    		c.Fatalf("mock user err: %v", err)
    	}
    	// fmt.Printf("TOKEN: %s\n", token)
    
    	webID := cr.STSWebIdentity{
    		Client:      s.TestSuiteCommon.client,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/README.md

    ##### Cluster
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/cluster
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Bucket centric
    
    ```yaml
    - job_name: minio-job-bucket
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/bucket
      scheme: http
      static_configs:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. internal/disk/stat_linux.go

    	s, err := bufio.NewReader(file).ReadString('\n')
    	if err != nil && !errors.Is(err, io.EOF) {
    		return nil, err
    	}
    	statLine := strings.TrimSpace(s)
    	for _, token := range strings.Fields(statLine) {
    		ui64, err := strconv.ParseUint(token, 10, 64)
    		if err != nil {
    			return nil, err
    		}
    		stats = append(stats, ui64)
    	}
    
    	return stats, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K 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"
    	Proxy      = "proxy"
    
    	KafkaBrokers       = "brokers"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	ErrParseExpectedTokenType: {
    		Code:           "ParseExpectedTokenType",
    		Description:    "Did not find the expected token in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpected2TokenTypes: {
    		Code:           "ParseExpected2TokenTypes",
    		Description:    "Did not find the expected token in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedNumber: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/iam.go

    				if err != nil {
    					continue
    				}
    				jwtClaims, err = auth.ExtractClaims(cred.SessionToken, secretKey)
    			}
    			if err != nil {
    				// skip this cred - session token seems invalid
    				continue
    			}
    
    			ldapUsername, ok := jwtClaims.Lookup(ldapUserN)
    			if !ok {
    				// skip this cred - we dont have the
    				// username info needed
    				continue
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/metrics.go

    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    func NoAuthMiddleware(h http.Handler) http.Handler {
    	return h
    }
    
    // AuthMiddleware checks if the bearer token is valid and authorized.
    func AuthMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. 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":""}]},"scanne...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
Back to top