I have a Mule flow running in Cloud foundry. The flow listens to MQ and on receiving a message will call a REST endpoint that resides in a separate web application hosted outside of cloud foundry.
I want to secure the REST endpoint so that it can only be called by the mule flow. Can anyone advise a straightforward way of achieving this? (most articles i've seen seem to be around securing an API within Mule, whereas as this is Mule calling out to a secure REST api.
Any pointers or reference articles would be appreciated