S3 credentials based on environment

Six Stars

S3 credentials based on environment

Our job servers (QA and Prod) reside on EC2  instance in AWS.  I have set up a policy for EC2 instances to access S3 without the need to use the keys.  So in the talend components accessing S3 I can use Inherit credentials from AWS role option.  However that is not available in our local dev environments where we have the studio installed.   On our local machines we have to use keys that each developer gets.  How can we set up talend job to use different authentication method based on environment where the job is executing from.

Tags (2)
Moderator

Re: S3 credentials based on environment

Hello,

Have you tried to add different environments to context group & propagate context change to your job?

Please refer to online user guide about:TalendHelpCenter:Centralizing context variables in the Repository

Let us know if it is what you are looking for.

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.