function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sahana Shekar 7Sahana Shekar 7 

Trying to integrate SFDC with AWS using IAM Role apex

Hi all,
I am trying to authenticate using the iam role. 
Here i dont have accesskey and secretkey. So Please post me with your code snippet as to how to use the iam role to dynamically generate the key and secret using assume role.
Also please provide the preconditions .

Thanks
sahana
VinayVinay (Salesforce Developers) 
Hi Sahana,

This might be something which needs to be checked with AWS team.  Found below reference that might help you.

https://aws.amazon.com/blogs/big-data/embed-amazon-quicksight-dashboards-in-salesforce/

Thanks,
Vipul-GoyalVipul-Goyal

Hi Sahana,
I knowi t's quite late to reply on your query , but I have prepared a solution for the same , and you can reference it using the below url : 

https://github.com/vipul-goyal/Connect-Salesforce-with-AWS-for-IAM-user-assuming-Role-through-STS

 

Hope it helps you in your pursuit on connecting AWS using apex.

Thanks,

Vipul