AWS connectivity using Assume Role

Highlighted
Six Stars

AWS connectivity using Assume Role

Hello,

  I want to connect to AWS S3 using Assume Role option in tS3Connection component.

I am able to connect using AWS Secret and access key but not using Assume Role.

 In which scenario it is better to use Assume role?As if we check "Assume Role" option we need to still enter access and secret keys.

 

For Assume Role, i provided Role ARN,Role session name on my own.

In Advanced settings, i entered STS endpoint as "https://sts.amazonaws.com".

After running the job, it fails with "Roles may not be assumed by root accounts. "

Attaching the error details.

 

 

Highlighted
Moderator

Re: AWS connectivity using Assume Role

Hello,

From the error message, please do not use AWS Root account to call assume role, which has full access to all the AWS resource and service. Take a try to use sub account/user.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Talend Cloud Developer Series – Updating Context Variables

This video will show you how to add context parameters to a job in Talend Cloud

Watch Now

Talend Cloud Developer Series – Deploying First Job to Cloud

This video will show you how to run a job in Studio and then publish that job to Talend Cloud

Watch Now

Talend Cloud Developer Series – Fetching Studio License

This video will help someone new to using Talend Studio get started by connecting to Talend Cloud and fetching the Studio License

Watch Now