Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Awsaccesskeyid (0.25 sec)

  1. cmd/signature-v2_test.go

    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrMalformedExpires,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. 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)
  3. cmd/signature-v2.go

    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	// Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string.
    	keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

                Error() {
                    Code("InvalidAccessKeyId")
                    Message("The AWS Access Key Id you provided does not exist in our records.")
                    AWSAccessKeyId("notRelevant")
                    RequestId("stubbedAuthFailureRequestId")
                    HostId("stubbedAuthFailureHostId")
                }
            }
    
            HttpStub httpStub = HttpStub.stubInteraction {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	AmzEncryptionAES = "AES256"
    	AmzEncryptionKMS = "aws:kms"
    
    	// Signature v2 related constants
    	AmzSignatureV2 = "Signature"
    	AmzAccessKeyID = "AWSAccessKeyId"
    
    	// Response request id.
    	AmzRequestID     = "x-amz-request-id"
    	AmzRequestHostID = "x-amz-id-2"
    
    	// Deployment id.
    	MinioDeploymentID = "x-minio-deployment-id"
    
    	// Peer call
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. 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