Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW

HMAC function

Clever_Anjos
Employee
Employee

HMAC function

On top of hash functions https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunction...

would be useful some implementation of Hash-based Message Authentication Code (HMAC).

Some API´s (like https://docs.aws.amazon.com/general/latest/gr/signature-v4-examples.html#signature-v4-examples-pytho...) requires hmac codes to authenticate the API.

This is impossible to achieve currently using pure Qlik functions.

The only workaround currently is call one external REST API to make the calculations

Tags (2)
4 Comments
Emile_Koslowski
Support
Support

Hi Clever,

Could you use the hash_hmac() PHP function in a custom code block in QAA?

Emile

 

Clever_Anjos
Employee
Employee

@Emile_Koslowski cool. I´ve tried with node.js and wasn't able to use it.

So we can keep it only for Qlik Sense

 

 

Emile_Koslowski
Support
Support

It's a PHP function, can you try setting the Custom Code block's language to PHP?

Emile_Koslowski_0-1650634510076.png

 

Clever_Anjos
Employee
Employee

@Emile_Koslowski  I was able to verify that we can implement using PHP for QAA.

I kept the idea for Qlik Sense scripts