One option is to add 0.0.0.0/0 to the IP Access List remembering that MongoDB Atlas requires database level authentication: It goes without saying that you should leverage modern credentials management best practices (a popular option is to use Vault which has a secrets engine integration with Atlas MongoDB Atlas - Secrets Engines | Vault | HashiCorp Developer)