Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for invalidAccessKey (0.06 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)
Back to top