Open MaxRink opened 3 years ago
invalid signature in Authorization header
indicates that the incoming request was not signed by a valid set of credential that is known to aws-s3-reverse-proxy.
Your requests shows OMKK45MUP3A21NUFBAMO
as AWS_ACCESS_KEY_ID.
Did you configure the correct AWS_SECRET_ACCESS_KEY for it, either as CLI args or config file?
I assume you are not proxying AWS S3 actual -- but some other S3 implementation backend?
Because the OMK...
prefix does not match any of the well known IAM uniq ID prefixes: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
(or you simply redacted it, which is totally fine of course!)
The other issue could be in the Ingress Controller (I assume nginx-ingress) which is rewriting some of the headers or query params. Please try and get a full request dump of goes into the nginx-ingress. Then we can compare it against what is sent to the aws-s3-reverse-proxy pod (you already posted this request dump).
Its an Netapp Appliance speaking S3, not direct AWS. I`ll dig into it next week
I'm getting the same error though I'm not using any additional proxies.
To authenticate I also need to pass a AWS_SESSION_TOKEN
, I've tried making some modifications to the code to support including it in the signer but I still get the same error.
We wanted to use this proxy in Kubernetes, behind an Ingress Controller. This seems to cause some issues,as im unable to make a connection: