Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rp2018
Creator
Creator

How to generate HMAC SHA1 key in Talend Studio?

I'm trying to use thttprequest component to pass HMAC value, but can't seem to find a way to generate HMAC SHA1 key using only Secret key. Have tried few Java code routines without any success.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

@Ranjan Patel​ , take a look at this page which shows some Java code on generating HMAC SHA1 key. In Talend job, you can write the Java codes on a tJava component or a user routine.

 

Regards

Shong

 

View solution in original post

3 Replies
Anonymous
Not applicable

@Ranjan Patel​ , take a look at this page which shows some Java code on generating HMAC SHA1 key. In Talend job, you can write the Java codes on a tJava component or a user routine.

 

Regards

Shong

 

rp2018
Creator
Creator
Author

Shong,

 

Thanks for the article. I'm not that good with Java and only written if then else in tjava component before. I've created a job and have a tJava component with the above information from the link. Now, I'm not sure how would I execute this with data and key to get the HMAC key. Please see the snapshot of the job.0695b00000kWZGHAA4.png0695b00000kWZFdAAO.png

rp2018
Creator
Creator
Author

Shong,

 

Was able to generate the HMAC key following the article link provided above. Created a routine from the above code. Created a job calling the routine.

Thank you for your help.