Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^11: signature problem

by poj (Abbot)
on Sep 05, 2019 at 14:09 UTC ( [id://11105667]=note: print w/replies, xml ) Need Help??


in reply to Re^10: signature problem
in thread signature problem

I used the Ruby example to show one of the errors with your code.

my $data = { AccessKeyId => $access_key, }; my $signature = hmac_sha1_base64($params, $access_key);

It looks to me like you are using the <accessKeyId> value to create the signature instead of the <accessSecret> value

Read my post Re: signature problem you can see from the Ruby example and the note to Step 3 of the spec that the key to use is <accessSecret> with added "&".

poj

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11105667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-18 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found