Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for aws4_request (0.08 sec)

  1. cmd/postpolicyform_test.go

    		// Expired policy document
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    		},
    		// Success case, no multipart filename.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    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/signature-v4-parser_test.go

    				"s3",
    				"aws4_request"),
    			expectedErrCode: ErrNone,
    		},
    		// Test Case - 10.
    		// Test case with right inputs -> AccessKey contains `/`. See minio/#6443
    		// "aws4_request" is the valid request version.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"LOCALKEY/DEV/1",
    				sampleTimeStr,
    				"us-west-1",
    				"s3",
    				"aws4_request"),
    			expectedCredentials: generateCredentials(
    				t,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    func getScope(t time.Time, region string) string {
    	scope := strings.Join([]string{
    		t.Format(yyyymmdd),
    		region,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    	return scope
    }
    
    // getStringToSign a string based on selected query values.
    func getStringToSign(canonicalRequest string, t time.Time, scope string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. docs/logging/README.md

      "requestPath": "/testbucket/hosts",
      "requestHost": "localhost:9000",
      "requestHeader": {
        "Accept-Encoding": "zstd,gzip",
        "Authorization": "AWS4-HMAC-SHA256 Credential=minioadmin/20240509/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length,Signature=d4d6862e6cc61011a61fa801da71048ece4f32a0562cad6bb88bdda50d7fcb95",
        "Content-Length": "401",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. cmd/signature-v4_test.go

    func TestDoesPolicySignatureMatch(t *testing.T) {
    	_, fsDir, err := prepareFS(context.Background())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer removeRoots([]string{fsDir})
    
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    	now := UTCNow()
    	accessKey := globalActiveCred.AccessKey
    
    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    	if credElements[2] != string(stype) {
    		if stype == serviceSTS {
    			return ch, ErrInvalidServiceSTS
    		}
    		return ch, ErrInvalidServiceS3
    	}
    	cred.scope.service = credElements[2]
    	if credElements[3] != "aws4_request" {
    		return ch, ErrInvalidRequestVersion
    	}
    	cred.scope.request = credElements[3]
    	return cred, ErrNone
    }
    
    // Parse signature from signature tag.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. docs/iam/access-management-plugin.md

        "account": "minio",
        "groups": null,
        "action": "s3:ListBucket",
        "bucket": "test",
        "conditions": {
          "Authorization": [
            "AWS4-HMAC-SHA256 Credential=minio/20220507/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=62012db6c47d697620cf6c68f0f45f6e34894589a53ab1faf6dc94338468c78a"
          ],
          "CurrentTime": [
            "2022-05-07T18:31:41Z"
          ],
          "Delimiter": [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    		canonicalHeaders,
    		signedHeaders,
    		hashedPayload,
    	}, "\n")
    
    	// Get scope.
    	scope := strings.Join([]string{
    		currTime.Format(yyyymmdd),
    		globalMinioDefaultRegion,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    
    	stringToSign := "AWS4-HMAC-SHA256" + "\n" + currTime.Format(iso8601Format) + "\n"
    	stringToSign += scope + "\n"
    	stringToSign += getSHA256Hash([]byte(canonicalRequest))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top