AWS S3 JavaScript SDK getSignedUrl returns base path only
I too had the same problem. I got the correct output by changing the below
from AWS_Access_Key_Id = myaccesskey
to aws_access_key_id=myaccesskey
Similarly for Secret key. That means you should not use Upper case and no space before and after =
The problem wasn't with code. It turns out that when you don't have your AWS credentials set up properly in your environment that the AWS SDK doesn't complain. Fixing the credentials in ~/.aws/credentials
resolved the issue.