Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for accessKeyId (0.26 sec)

  1. cmd/sts-handlers_test.go

    		}
    
    		// Retrieve the STS account's credential object.
    		u, ok := globalIAMSys.GetUser(ctx, value.AccessKeyID)
    		if !ok {
    			c.Fatalf("Expected to find user %s", value.AccessKeyID)
    		}
    
    		if u.Credentials.AccessKey != value.AccessKeyID {
    			c.Fatalf("Expected access key %s, got %s", value.AccessKeyID, u.Credentials.AccessKey)
    		}
    
    		// Retrieve the credential's claims.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    // preSignV4 presign the request, in accordance with
    // http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html.
    func preSignV4(req *http.Request, accessKeyID, secretAccessKey string, expires int64) error {
    	// Presign is not needed for anonymous credentials.
    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region()
    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