Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for yyyymmdd (0.04 seconds)

  1. cmd/post-policy_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			dates:              []any{curTimePlus5Min.Format(iso8601TimeFormat), curTime.Format(iso8601DateFormat), curTime.Format(yyyymmdd)},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  2. cmd/signature-v4-parser_test.go

    // Credential = accessKey + SlashSeparator+ scope
    // where scope = string.Join([]string{  currTime.Format(yyyymmdd),
    //
    //				globalMinioDefaultRegion,
    //	              	"s3",
    //			        "aws4_request",
    //	                      },SlashSeparator)
    func TestParseCredentialHeader(t *testing.T) {
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    
    	testCases := []struct {
    		inputCredentialStr  string
    		expectedCredentials credentialHeader
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  3. cmd/signature-v4-parser.go

    		date    time.Time
    		region  string
    		service string
    		request string
    	}
    }
    
    // Return scope string.
    func (c credentialHeader) getScope() string {
    	return strings.Join([]string{
    		c.scope.date.Format(yyyymmdd),
    		c.scope.region,
    		c.scope.service,
    		c.scope.request,
    	}, SlashSeparator)
    }
    
    func getReqAccessKeyV4(r *http.Request, region string, stype serviceType) (auth.Credentials, bool, APIErrorCode) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. cmd/test-utils_test.go

    		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))
    
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(currTime.Format(yyyymmdd)))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  5. cmd/server_test.go

    		"User-Agent":                   []string{"A malicious request"},
    		"X-Amz-Decoded-Content-Length": []string{"8"},
    		"Content-Encoding":             []string{"aws-chunked"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
Back to Top