What account should be used for API with query parameter authentication?
I have two source TikTok Business and Semrush APIs which use query parameter authentication. I didn't find an appropriate account which I can use for HTTP Client. I don't want to keep secrets in files or pipeline parameters. Maybe I missed something, any ideas on that?
For TikTok Business, you'll want to use an OAuth2 Account (using the
/oauth/tokenendpoint for the token collection) then you can add the custom header and reference the account's access token withaccount.access_tokenit will still be obfuscated in logs and details that we return back to you throughout the course of processing.For Semrush, you'll want to use the Secured Headers Account and while it will still put those headers into the request, Semrush SHOULD ignore them (I don't see anything that indicates otherwise), you can put the header in the Additional Auth Headers section with they key being
keyand value being your `API_KEY`, then you can refer to the key asaccount.keysimilar to the OAuth2 account. How you refer to it is how it's set up in your account, so if you useAPI_KEYas the key, you'll need to refer to it asaccount.API_KEY.