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.
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.
Try Talend Cloud free for 30 days.
Introduction to Talend Open Studio for Data Integration.
Practical steps to developing your data integration strategy.
Create systems and workflow to manage clean data ingestion and data transformation.