cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
acanepaecon
Frequent Visitor

Connect to Amazon S3

Hello,

 

I'm trying to connect Amazon S3 creating a custom connector with the REST API they provide. 

The problem is that is necessary to generate a signature based in the API key and other values. The signature is valid for 7 days, so it not possible to generate once outside - it would be pointless to generate a process that aims to be automatic needing a manual input.

 

Is there a way to generate HMAC signatures in a custom connector for Microsoft Flow?

 

If the connection is not Oauth 2.0, the custom connector is extremely rigid in the options they provide.

 

Is there any solution that doesn't involve using Azure Functions? 

5 REPLIES 5
v-yamao-msft
Community Support
Community Support

Hi @acanepaecon,

 

It seems that you have created a custom connector to Amazon S3 using REST API.

 

Here is a doc on Amazon S3 REST API Introduction, hope it could be a reference for you:

https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html

 

While Oauth 2.0 is required when registering Custom API, please check the following docs for more details:

https://docs.microsoft.com/en-us/flow/developer/register-custom-api

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yamao-msft,

 

Seems like you didn't read my message, I've already read those. The problem relies on the creation of a signature, that's where the problem is.

It will be cool to generate the signature inside flow, as a custom connector.

 

Regards,

I’ve been thinking about how to tackle this issue as well. My issue is slightly different, I need to generate an AWS signature v4 to pass in a header to AWS API gateway. Flow and logic apps seem to have no native Authenticaton options for AWS which is a shame. The only way I’ve thought on how to do this is put an Azure function http trigger in front of the AWS api gateway, and have it use oauth or something that flow CAN talk to and have the Azure function contain the logic to build the aws signature to then pass to AWS. Not elegant but no other option? It would be great to have AWS connectors in flow for s3, dynamodb, etc

The API appraoch with S3 buckets is way too painful/complex and slow. I found a workaround.   Use the SFTP-as-a-service that connects to S3 https://aws.amazon.com/sftp/  then use the SFTP action in Flow 🙂

neilsabol
New Member

Hello @acanepaecon and sorry to dig up this old thread. This is admittedly a shameless plug to my blog (and the approach is inline with what @asdfaf4 already suggested) but Couchdrop.io provides an easy and seamless way to integrate PowerAutomate (Flow) and Amazon AWS S3 buckets using SFTP at a very reasonable cost:

 

https://blog.neilsabol.site/post/microsoft-ms-flow-sftp-connector-couchdrop-amazon-s3-bucket-storage...

 

Just wanted to add this to the list of workarounds.

Thank you and enjoy the day,
-Neil

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,722)