Is it possible to open direct access to a db service?

I need to allow auth0 to make queries to it in an incremental user migration. I could firewall it to an IP range for security, but I’m not sure how to do this on Platform.sh?

It’s not possible to securely expose your database service directly to the internet using Platform.sh. As routes.yaml only supports http endpoints, you will need to consider putting a web-service in between the database and the internet to controll access.