Data360 Analyze

 View Only
  • 1.  Passing API Key (connect to govern) in http node as an encrypted variable

    Posted 07-01-2020 04:48

    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?



  • 2.  RE: Passing API Key (connect to govern) in http node as an encrypted variable

    Employee
    Posted 07-01-2020 06:14

    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:

     



  • 3.  RE: Passing API Key (connect to govern) in http node as an encrypted variable

    Posted 07-01-2020 06:53

    Thank you. I was passing the full string and it wasn't being recognised. 

     

    This is working for me :)



  • 4.  RE: Passing API Key (connect to govern) in http node as an encrypted variable

    Posted 07-02-2020 04:05

    another alternative is using Run Property Sets, define the run property set and pass this to any dataflow which may need the same key/secret or api credentials.