You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use awscliv2 or @aws-sdk/s3-client gives an error whereas doing a curl command works fine
I am trying to setup a envoy proxy to proxy calls to aws and came across the aws_request_signing http filter. However it doesn't seem to work when I run s3 commands through the cli. And also doesn't work when I use the s3-client from the official aws nodejs sdk. However doing a simple get request via curl works fine. Maybe this is not supported?
Here is the envoy config I am using, I have also provided AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to envoy containers env
aws s3 ls --endpoint-url=http://localhost:9999
An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation: The authorization header is malformed; the authorization header requires three components: Credential, SignedHeaders, and Signature.
AuthorizationHeaderMalformed: The authorization header is malformed; the authorization header requires three components: Credential, SignedHeaders, and Signature.
The text was updated successfully, but these errors were encountered:
Trying to use awscliv2 or @aws-sdk/s3-client gives an error whereas doing a curl command works fine
I am trying to setup a envoy proxy to proxy calls to aws and came across the aws_request_signing http filter. However it doesn't seem to work when I run s3 commands through the cli. And also doesn't work when I use the s3-client from the official aws nodejs sdk. However doing a simple get request via curl works fine. Maybe this is not supported?
Here is the envoy config I am using, I have also provided
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
to envoy containers envRunning a curl command works fine
But running using awscliv2 doesnt.
Same with the nodejs aws-sdk
Results in,
The text was updated successfully, but these errors were encountered: