Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ErrInvalidAccessKeyID (0.1 sec)

  1. cmd/storage-rest-client.go

    		return errCorruptedFormat
    	case errCorruptedBackend.Error():
    		return errCorruptedBackend
    	case errUnformattedDisk.Error():
    		return errUnformattedDisk
    	case errInvalidAccessKeyID.Error():
    		return errInvalidAccessKeyID
    	case errAuthentication.Error():
    		return errAuthentication
    	case errRPCAPIVersionUnsupported.Error():
    		return errRPCAPIVersionUnsupported
    	case errServerTimeMismatch.Error():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    		return nil, ErrInvalidToken
    	}
    
    	// Expired credentials must return error right away.
    	if cred.IsTemp() && cred.IsExpired() {
    		return nil, toAPIErrorCode(r.Context(), errInvalidAccessKeyID)
    	}
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() && cred.AccessKey != siteReplicatorSvcAcc {
    		nsecret, err := getTokenSigningKey()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    const (
    	ErrNone APIErrorCode = iota
    	ErrAccessDenied
    	ErrBadDigest
    	ErrEntityTooSmall
    	ErrEntityTooLarge
    	ErrPolicyTooLarge
    	ErrIncompleteBody
    	ErrInternalError
    	ErrInvalidAccessKeyID
    	ErrAccessKeyDisabled
    	ErrInvalidArgument
    	ErrInvalidBucketName
    	ErrInvalidDigest
    	ErrInvalidRange
    	ErrInvalidRangePartNumber
    	ErrInvalidCopyPartRange
    	ErrInvalidCopyPartRangeSource
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    		if apiErrCode := checkRequestAuthTypeWithVID(ctx, r, policy.DeleteObjectAction, bucket, object.ObjectName, object.VersionID); apiErrCode != ErrNone {
    			if apiErrCode == ErrSignatureDoesNotMatch || apiErrCode == ErrInvalidAccessKeyID {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(apiErrCode), r.URL)
    				return
    			}
    			apiErr := errorCodes.ToAPIErr(apiErrCode)
    			deleteResults[index].errInfo = DeleteError{
    				Code:      apiErr.Code,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			objectName: objectName,
    			byteRange:  "",
    			accessKey:  "Invalid-AccessID",
    			secretKey:  credentials.SecretKey,
    
    			expectedContent: encodeResponse(getAPIErrorResponse(ctx,
    				getAPIError(ErrInvalidAccessKeyID),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusForbidden,
    		},
    		// Test case - 7.
    		// Case with bad components in object name.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top