usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.85k stars 1.29k forks source link

Implement AWS CloudFront URL signature #3218

Open elgcdju opened 2 months ago

elgcdju commented 2 months ago

I have checked the following:

Describe the feature you want to add

Hello,

Would it be possible to have Bruno generates signed URLs to access AWS CloudFront contents, as described here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html ?

Thanks!

Mockups or Images of the feature

Add a new "CloudFront Sig" Auth mechanism, ask for a private RSA key file, a public Key ID, an Expiration date and time, and an optional custom policy.

helloanoop commented 1 month ago

Hey @elgcdju,

Thanks for the feature suggestion! We'll need to investigate and scope this out further. I'm curious—how are you currently working around this? We could explore some scripting workarounds in the meantime while waiting for the UI to catch up.

elgcdju commented 3 weeks ago

I'm currently using some external Java code to generate the signature and send the request, thanks to the official AWS SDK.