Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for invalidaccesskey (0.13 sec)

  1. 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)
  2. cmd/post-policy_test.go

    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"Awsaccesskeyid": "invalidaccesskey"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    			expectedRespStatus: http.StatusForbidden,
    			lifecycleResponse:  []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidAccessKeyId",
    				Message:  "The Access Key Id you provided does not exist in our records.",
    			},
    			shouldPass: false,
    		},
    		// PUT empty credentials
    		{
    			method:             http.MethodPut,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    			expectedRespStatus: http.StatusForbidden,
    			locationResponse:   []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidAccessKeyId",
    				Message:  "The Access Key Id you provided does not exist in our records.",
    			},
    			shouldPass: false,
    		},
    	}
    
    	for i, testCase := range testCases {
    		if i != 1 {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusInternalServerError,
    	},
    	ErrInvalidAccessKeyID: {
    		Code:           "InvalidAccessKeyId",
    		Description:    "The Access Key Id you provided does not exist in our records.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAccessKeyDisabled: {
    		Code:           "InvalidAccessKeyId",
    		Description:    "Your account is disabled; please contact your administrator.",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			data:       bytesData,
    			dataLen:    len(bytesData),
    			accessKey:  "Wrong-AccessID",
    			secretKey:  credentials.SecretKey,
    
    			expectedRespStatus: http.StatusForbidden,
    			wantAPICode:        "InvalidAccessKeyId",
    		},
    		// Test Case with invalid header key X-Amz-Copy-Source.
    		2: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            copySourceHeader,
    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