Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Creds (0.02 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    						Parent:        creds.ParentUser,
    						AccessKey:     creds.AccessKey,
    						SecretKey:     creds.SecretKey,
    						Groups:        creds.Groups,
    						Claims:        claims,
    						SessionPolicy: policyJSON,
    						Status:        creds.Status,
    						Name:          creds.Name,
    						Description:   creds.Description,
    						Expiration:    &creds.Expiration,
    					},
    				},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	ctx, cancel := context.WithCancel(r.Context())
    	defer cancel()
    
    	objectAPI, creds := validateAdminReq(ctx, w, r, policy.HealthInfoAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if !globalAPIConfig.permitRootAccess() {
    		rd, wr := isAllowedRWAccess(r, creds, globalObjectPerfBucket)
    		if !rd || !wr {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, AdminError{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		apiRouter.ServeHTTP(rec, req)
    		// Assert the response code with the expected status.
    		if rec.Code != testCase.expectedRespStatus {
    			if testCase.copySourceSame {
    				// encryption will rotate creds, so fail only for non-encryption scenario.
    				if GlobalKMS == nil {
    					t.Errorf("Test %d: %s:  Expected the response status to be `%d`, but instead found `%d`", i, instanceType, testCase.expectedRespStatus, rec.Code)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	cred := getReqAccessCred(r, globalSite.Region())
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top