Hello! I've already did same task few times and would be happy to help you with that!
Btw, you don't need to upload something each time you want to generate the signed URL, and you don't need pem-key at all!
Please hire me, as I've said I did exactly the same thing.
Feel free to ask your questions.
Thanks, Alex