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 "&".
pojIn reply to Re^11: signature problem
by poj
in thread signature problem
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |