Trying to use Amazon SP-API to get some data from Amazon Seller Central into Power Automate but I'm stuck on the step where you need to generate temporary credentials using AWS STS I manage to do it in Postman following this guide but cannot seem to create the authorization in Power Automate using the HTTP Action. I've found only the suggestions in this post but seems too complicated to create python web app in azure and then invoke but will do it if no other solution is possible. https://powerusers.microsoft.com/t5/Building-Flows/Connect-to-Amazon-S3/td-p/156106
Here is how the authorization looks in Postman:
I cannot figure out how to recreate this AWS authorization in the HTTP action and adding the access key, secret and session token manually defeats the purpose of automating it.
Thanks in advance for all your help, suggestions and/or criticism. Any hints will be highly appreciated.
Sincerley,
Pullox
@Pullox did you ever come to build this in Power Automate?
If not, would you mind sharing how to implement the Azure service to handle the AWS signature generation? Thanks so much.
To use the AWS Signature Version 4 authentication process with HTTP actions, you will need to do the following:
Create a canonical request:
Begin by creating a canonical request for the desired HTTP action. The canonical request should include the HTTP method, URI, query string parameters, headers, and the payload if the action includes a payload.
Create a string to sign:
Next, create a string to sign by concatenating various information, including the algorithm used, the requested date, the credential scope, and the hashed canonical request.
Calculate the signature:
Use the string to sign and your AWS secret key to calculate the signature for the request.
Add the signature to the request:
Finally, add the calculated signature, access key, and other required information to the request headers.
This process can be complex, so it is often helpful to use a library or pre-built tool to handle the authentication process for you.
Could you send an example of how this authentication was performed?
Hello @annie23,
Thanks for jumping into the topic, can you please specify how you deal with the authentication as it was a challenge for me. Thanks in advance!
AWS Signature using HTTP Action makes it easy to sign actions taken by an AWS instance or subscription. It provides a secure way to sign and manage Amazon Web Services actions.
@Pullox Could you share how the final solution turned out? I'm having the same difficulty generating this signature.
@Pullox Would you be able to share more direction on how you got this sorted out.
Any help would be appreciated.
@Pullox , Thanks you share your development !
You replaced this flow ( where you creating request, calculates signature... ) with function in Azure ?
Thanks !
@TheCalebG , we did get further but ended up using Amazon Web Services (AWS) SDK for Python to call the Amazon Simple Queue Service (Amazon SQS) aka Boto3, this function was added to azure cloud which then completes the following steps:
Hope this helps, we are currently in the process of implementing this to a Power Automate flow, I'll gladly share the results once it is completed.
Bummer that no one has jumped in here on this yet. Amazon's API documentation is cryptic! I really appreciate your snapshots. I was having a hard time figuring out the passing of a signature to the requests in Postman.
I want to automate inventory management from our internal ERP database and expand on reporting with PowerBI.
Did you get any further on this @Pullox ??
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492