Description
Users making Atlas API calls from Realm need to whitelist the Realm Server IPs for their API key. These IP addresses are documented internally, but not externally.
As a workaround users need to create a realm project and use the Atlas API to get the list of IPs Realm has whitelisted for their Atlas cluster.
curl --user mofjrwdc:27ce-46c4-8957-XXXXXXXXXXXX' --digest --header 'Accept: application/json' --request GET 'https://cloud.mongodb.com/api/atlas/v1.0/groups/{project id}/whitelist' | json_qq
"results" : [
{
"groupId" : "5de95821c56c981f64ee3658",
"cidrBlock" : "54.76.145.131/32",
"comment" : "For MongoDB Stitch; do not delete",
"links" : [
{ "href" : "https://cloud.mongodb.com/api/atlas/v1.0/groups/5de95821c56c981f64ee3658/whitelist/54.76.145.131%2F32", "rel" : "self" }
It would be preferred if we just documented the list.