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
a suggested code or documentation change, improvement to the code, or feature request
Hello. I'm trying to generate a resigned URL using signature_v4_auth. This was inspired by this. I add to make some changes according to the documentation, and use URLencode a few times to make sure it matches what AWS is providing me with when I manually generate a presigned URL for the same test object.
Regardless of the change I do, I always get a signature mismatch. I've tried signing the body, or not.
I'm a little confused when I look at this documentation page. I'm not seeing the UNSIGNED-PAYLOAD anywhere in the code, and so as a result using their parameter I do not end up with the same signature. In my signature$CanonicalRequest I have the body hash instead.
I somehow feel that some things in there could/should be simplified - like I have to manually generate the credentials, because signature$Credential is not encoded properly, or I'm getting this completely backward. Apologies if that's the case.
Thanks ahead of time for the clarifications.
The text was updated successfully, but these errors were encountered:
Please specify whether your issue is about:
Hello. I'm trying to generate a resigned URL using
signature_v4_auth
. This was inspired by this. I add to make some changes according to the documentation, and useURLencode
a few times to make sure it matches what AWS is providing me with when I manually generate a presigned URL for the same test object.Regardless of the change I do, I always get a signature mismatch. I've tried signing the body, or not.
I'm a little confused when I look at this documentation page. I'm not seeing the
UNSIGNED-PAYLOAD
anywhere in the code, and so as a result using their parameter I do not end up with the same signature. In mysignature$CanonicalRequest
I have the body hash instead.My code so far:
I somehow feel that some things in there could/should be simplified - like I have to manually generate the credentials, because
signature$Credential
is not encoded properly, or I'm getting this completely backward. Apologies if that's the case.Thanks ahead of time for the clarifications.
The text was updated successfully, but these errors were encountered: