I want to integrate with an external system.
They need to whitelist my IP for permission to use their services.
I looked at this post: https://help.salesforce.com/articleView?id=000321501&type=1&mode=1
to get all the possible IP that my request can have.
In the IP list inside the post above, I took just the RIPE area ( Europe, the Middle East and parts of Central Asia) which is my area, and I sent it to my external service to whitelist it.
Just the RIPE section is including ~200K IP addresses.
Salesforce's recommendation is to whitelist ALL the IPs and not just your area which I guess will be like ~1M IP address.
The external service won't whitelist such a number (not even 200K) - They want only one IP Address which I guess is not possible.
We thought to share a key with value in the header request by the method
HttpRequest request = new HttpRequest(); request.setHeader('Key',encrypt(Value)); and then, they will check the request by this key and not by this IP.
anyone can share their knowledge about these methods? Dose these recommended?
Is there a way to define one static IP address? even a paid way?
Other solutions will be greatly appreciated.