0
votes

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

1

1 Answers

0
votes

Sounds like you need to enable 2 way authentication. If you provide the Mule client with a certificate and make your REST endpoint only trust that one you are all set.