Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Feyrer (0.17 sec)

  1. cmd/batch-replicate.go

    //           value: "value*"
    //       metadata:
    //         - key: "content-type"
    //           value: "image/*"
    //     notify:
    //       endpoint: "https://splunk-hec.dev.com"
    //       token: "Splunk ..." # e.g. "Bearer token"
    //
    //   # target where the objects must be replicated
    //   target:
    //     type: "minio"
    //     bucket: "testbucket1"
    //     endpoint: "https://play.min.io"
    //     path: "on"
    //     credentials:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. internal/config/lambda/target/webhook.go

    	// <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:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. cmd/batch-expire_test.go

              # retainVersions: 5 # keep the latest 5 versions of the object including delete markers.
    
      notify:
        endpoint: https://notify.endpoint # notification endpoint to receive job completion status
        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    	isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443")
    	if isMCP {
    		// Special credentials handling when using ASM Managed Control Plane.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. internal/rest/client.go

    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.newAuthToken != nil {
    		req.Header.Set("Authorization", "Bearer "+c.newAuthToken(u.RawQuery))
    	}
    	req.Header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    	if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization": []string{"Bearer 12313123"},
    				},
    			},
    			authT: authTypeJWT,
    		},
    		// Test case - 3
    		// Empty authorization header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/jwt.go

    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    	defaultInterNodeJWTExpiry = 15 * time.Minute
    )
    
    var (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. internal/event/target/webhook.go

    	// <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:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. internal/config/identity/openid/provider/keycloak.go

    	k.Lock()
    	accessToken := k.accessToken
    	k.Unlock()
    	if accessToken.AccessToken == "" {
    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  10. internal/config/dns/operator_dns.go

    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    
    	r.Header.Set("Authorization", "Bearer "+ss)
    	return nil
    }
    
    func (c *OperatorDNS) endpoint(bucket string, delete bool) (string, error) {
    	u, err := url.Parse(c.Endpoint)
    	if err != nil {
    		return "", err
    	}
    	q := u.Query()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top