Passing API Key (connect to govern) in http node as an encrypted variable
I have set up a REST API integration to push / pull metadata into Data360 govern
If I hardcode the header
Authorization: privatekey;secretkey this works fine
I cannot seem to find a way to pass this information as a variable. (preferably encrypted)
what am I missing?
-
At the node or data flow level, you can define new properties that hold your API Key and Secret. These fields can be defined as the "Password" field type to encrypt them and hide them in the UI. It's recommended to define these as properties at the data flow level so that they can be reused throughout your flow:
More information on this can be found in our Defining Properties doc.
Then within your HTTP nodes, you can reference these fields with this syntax:
Authorization: {{^key^}};{{^secret^}}
The {{^key^}} syntax means to insert the value stored within the key property. You can either copy/paste that into your header field directly if you used the same property names as me, or you can insert your properties via the header field's menu:
Please sign in to leave a comment.
Comments
3 comments