cancel
Showing results for 
Search instead for 
Did you mean: 

Handle multiple API Keys in SAP Cloud Integration

rrmalgi
Participant
0 Kudos
250

Hi,

We are integrating with an external application, which has provided us company specific API key to post data using their API. For Ex : If we are posting data about Company A there is a specific API Key A. If Company B then API Key B. 

I can think of doing this using Value mapping but I would like to know if there is a better approach which is secure as well.  Please suggest

Best Regards

View Entire Topic
Muniyappan
Active Contributor
0 Kudos

First create a secure parameter and add all keys. separate secure param entry for each company.  Put the secure parameter names in value mapping. 

In the iflow first find out the secure paramter name for company A by checking in value mapping and then read the secure parameter value from the script using param name. 

https://help.sap.com/docs/cloud-integration/sap-cloud-integration/access-secure-parameters-in-script...