Web API setup/configuration

%3CLINGO-SUB%20id%3D%22lingo-sub-2465873%22%20slang%3D%22en-US%22%3EWeb%20API%20setup%2Fconfiguration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2465873%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%20I'm%20a%20newbie%20in%20DataFactory%20and%20I%20am%20having%20some%20issues.%20My%20problem%20is%20I%20want%2C%20as%20part%20of%20the%20pipeline%2C%20to%20call%20a%20rest%20API%20to%20send%20an%20email%20through%20our%20internal%20mailing%20API.%20The%20issue%20is%20that%20the%20authentication%20is%20done%20using%20the%20headers%2C%20i.e.%3A%3C%2FP%3E%3CUL%3E%3CLI%3Ex-username%3A%20johndoe%3C%2FLI%3E%3CLI%3Ex-department%3A%20sales%3C%2FLI%3E%3CLI%3Ex-subscription-key%3A%20XXX%3C%2FLI%3E%3C%2FUL%3E%3CP%3EBecause%20of%20security%2C%20I%20would%20like%20to%20retrieve%20the%20subscription%20key%20through%20the%20keyvault%2C%20but%20I%20find%20it%20impossible.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20the%20REST%20LinkedService%20supports%20authentication%20headers%2C%20that%20can%20retrieve%20the%20key%20from%20the%20keyvault.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2465873%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Data%20Factory%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi. I'm a newbie in DataFactory and I am having some issues. My problem is I want, as part of the pipeline, to call a rest API to send an email through our internal mailing API. The issue is that the authentication is done using the headers, i.e.:

  • x-username: johndoe
  • x-department: sales
  • x-subscription-key: XXX

Because of security, I would like to retrieve the subscription key through the keyvault, but I find it impossible. 

 

For example, the REST LinkedService supports authentication headers, that can retrieve the key from the keyvault.  

0 Replies