Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
egoh1618542899
Contributor
Contributor

S3 Credentials

May i know if there is a way to store AWS credentials in Windows Environment Variables and access them in Talend Studio? Will like to avoid directly storing AWS credentials in Talend. Thanks!

Labels (2)
1 Solution

Accepted Solutions
Prakhar1
Creator III
Creator III

Yes, I have access the "JAVA_HOME" environment variable using below method in tJava.

 

   String java_home = System.getenv("JAVA_HOME");

   System.out.println(java_home);

 

You can create the S3 variable and call them using same way.

View solution in original post

3 Replies
Prakhar1
Creator III
Creator III

Yes, I have access the "JAVA_HOME" environment variable using below method in tJava.

 

   String java_home = System.getenv("JAVA_HOME");

   System.out.println(java_home);

 

You can create the S3 variable and call them using same way.

egoh1618542899
Contributor
Contributor
Author

Thank you for your prompt response! Will try it out.

 

Works like a charm! I like how simple the solution is. using this alone System.getenv("Env Variable") works for me. Thanks!

Prakhar1
Creator III
Creator III

Glad it worked.. 😉