Currently PostObject tests that include authentication fails due to invalid policy generation. (e.g.: test_post_object_authenticated_request).
The problem is in the malformed policy form. But it is not obvious what is exactly wrong -
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AuthorizationQueryParametersError</Code><Message>Error parsing the X-Amz-Credential parameter; the Credential is mal-formed; expecting "<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request".</Message><BucketName>yournamehere-ns24t1094wwfebma-1</BucketName><Resource>/yournamehere-ns24t1094wwfebma-1</Resource><RequestId>178DD0B3BB5250D0</RequestId><HostId>f25fd5b4-787e-4670-97d2-f1bed82c70ab</HostId></Error>
Adding X-Amz-Credential doesn't fix tests, so there should be more errors, need to investigate it deeply.
There is probably an error during signature generation, there should be something like:
Currently PostObject tests that include authentication fails due to invalid policy generation. (e.g.: test_post_object_authenticated_request). The problem is in the malformed policy form. But it is not obvious what is exactly wrong -
Adding X-Amz-Credential doesn't fix tests, so there should be more errors, need to investigate it deeply.
There is probably an error during signature generation, there should be something like:
But the above thing doesn't work as well. Maybe it is better to try to do this request via boto3 and then compare request/headers