How to Access API Key Credential in Flow Designer Action

Geoff_T
Mega Sage

I have created an API Key credential. I need to pass it as a REST call header property value (Authorization). I can't figure out how to populate the header property value with that credential I have created. Any ideas?

1 ACCEPTED SOLUTION

Thanks. 

I needed to create an Action Input, then I was able to pass in the API Key record.

I assume because you set up a custom Fireboard spoke - the API Key variable is made available as a Variable pill without the need to create an Action Input for it..?

View solution in original post

2 REPLIES 2

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You'll need a Connection & Credential Alias as well as the credential itself. From there you should be able to populate the credential alias in the connection details on the REST Step in IntegrationHub. Once you've done that you can access the credential itself from the credential value data pill. 

We have a really good overall IntegrationHub training course on the developer site that walks you through setting up C&C and using it in IHub and we also did something similar on a Live Coding Happy Hour episode a few weeks ago around the 51:30 minute mark.

Thanks. 

I needed to create an Action Input, then I was able to pass in the API Key record.

I assume because you set up a custom Fireboard spoke - the API Key variable is made available as a Variable pill without the need to create an Action Input for it..?