Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Awsaccesskeyid (0.15 sec)

  1. cmd/post-policy_test.go

    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},
    		{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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    			}
    		}
    		delete(checkHeader, formCanonicalName)
    	}
    	// For SignV2 - Signature/AWSAccessKeyId field will be ignored.
    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    		delete(checkHeader, xhttp.AmzSignatureV2)
    		for k := range checkHeader {
    			// case-insensitivity for AWSAccessKeyId
    			if strings.EqualFold(k, xhttp.AmzAccessKeyID) {
    				delete(checkHeader, k)
    				break
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 10:52:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key "AWSAccessKeyId" set.
    		{"", "", false},
    		// Test case - 2.
    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	// Construct the final presigned URL.
    	return nil
    }
    
    // preSignV2 - presign the request in following style.
    // https://${S3_BUCKET}.s3.amazonaws.com/${S3_OBJECT}?AWSAccessKeyId=${S3_ACCESS_KEY}&Expires=${TIMESTAMP}&Signature=${SIGNATURE}.
    func preSignV2(req *http.Request, accessKeyID, secretAccessKey string, expires int64) error {
    	// Presign is not needed for anonymous credentials.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top