Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for creds (0.05 sec)

  1. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        private Credentials creds;
    
    
        /**
         * @param delegate
         * @param creds
         *            Crendentials to use
         */
        public CIFSContextCredentialWrapper ( AbstractCIFSContext delegate, Credentials creds ) {
            super(delegate);
            this.creds = creds;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:32:29 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. cmd/jwt_test.go

    		b.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	b.ResetTimer()
    	b.ReportAllocs()
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			err = xjwt.ParseWithStandardClaims(token, xjwt.NewStandardClaims(), []byte(creds.SecretKey))
    			if err != nil {
    				b.Fatal(err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	})
    	if err != nil {
    		c.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. cmd/batch-replicate_gen.go

    					z.Creds.AccessKey, err = dc.ReadString()
    					if err != nil {
    						err = msgp.WrapError(err, "Creds", "AccessKey")
    						return
    					}
    				case "SecretKey":
    					z.Creds.SecretKey, err = dc.ReadString()
    					if err != nil {
    						err = msgp.WrapError(err, "Creds", "SecretKey")
    						return
    					}
    				case "SessionToken":
    					z.Creds.SessionToken, err = dc.ReadString()
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. cmd/tier.go

    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    		if creds.AWSRoleWebIdentityTokenFile != "" && creds.AWSRoleARN != "" {
    			cfg.S3.AWSRoleARN = creds.AWSRoleARN
    			cfg.S3.AWSRoleWebIdentityTokenFile = creds.AWSRoleWebIdentityTokenFile
    		}
    		if creds.AccessKey != "" && creds.SecretKey != "" {
    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. cmd/signature-v2_test.go

    		t.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	policy := "policy"
    	testCases := []struct {
    		accessKey string
    		policy    string
    		signature string
    		errCode   APIErrorCode
    	}{
    		{"invalidAccessKey", policy, calculateSignatureV2(policy, creds.SecretKey), ErrInvalidAccessKeyID},
    		{creds.AccessKey, policy, calculateSignatureV2("random", creds.SecretKey), ErrSignatureDoesNotMatch},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. docs/sts/client_grants/__init__.py

                result = root.find('AssumeRoleWithClientGrantsResult')
                creds = result.find('Credentials')
                return dict(
                    access_key=creds.get_child_text('AccessKeyId'),
                    secret_key=creds.get_child_text('SecretAccessKey'),
                    token=creds.get_child_text('SessionToken'),
                    expiry_time=parse(creds.get_child_text('Expiration')).isoformat())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    	creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2)
    	if len(creds) != 2 {
    		return ch, ErrMissingFields
    	}
    	if creds[0] != "Credential" {
    		return ch, ErrMissingCredTag
    	}
    	credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator)
    	if len(credElements) < 5 {
    		return ch, ErrCredMalformed
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/warm-backend-s3.go

    				conf.AWSRoleARN,
    				sessionName,
    			},
    		}
    		creds = credentials.New(&s3WebIdentityIAM)
    	case conf.AccessKey != "" && conf.SecretKey != "":
    		creds = credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	default:
    		return nil, errors.New("insufficient parameters for S3 backend authentication")
    	}
    	opts := &minio.Options{
    		Creds:     creds,
    		Secure:    u.Scheme == "https",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		return false
    	}
    
    	u, err := url.Parse(r.Source.Endpoint)
    	if err != nil {
    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := miniogo.New(u.Host, &miniogo.Options{
    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top