Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListAllMyBucketsAction (0.36 sec)

  1. cmd/auth-handler.go

    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV2(r)
    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region()
    		switch action {
    		case policy.GetBucketLocationAction, policy.ListAllMyBucketsAction:
    			region = ""
    		}
    		if s3Err = isReqAuthenticated(ctx, r, region, serviceS3); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	listBuckets := objectAPI.ListBuckets
    
    	cred, owner, s3Error := checkRequestAuthTypeCredential(ctx, r, policy.ListAllMyBucketsAction)
    	if s3Error != ErrNone && s3Error != ErrAccessDenied {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Anonymous users, should be rejected.
    	if cred.AccessKey == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top