IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Disable API Key In The Query Param

    Posted 06/21/21 04:21 PM

    In API gateway I have the two options to pass the API Key whether in the query string or in the header. Is there’s any way to prevent the API Key value to be passed as a query parameter and only enforced the API Key in the header?

    Thanks in advance


    #API-Portal
    #API-Management
    #API-Gateway
    #webMethods


  • 2.  RE: Disable API Key In The Query Param

    Posted 06/22/21 01:49 AM

    Hi Mohamed,

    I am not aware of any such OOTB option to disable this. You could use a custom extension to remove the query parameter before the IAM (Identify & Authorize) policy is executed. That way IAM will always receive the request without the query parameter and it will not allow the request based on API Key from the query parameter and hence always enforce the API Key header.

    Hope this helps.

    Regards,
    Vallab.


    #API-Management
    #API-Gateway
    #API-Portal
    #webMethods