Securing MongoDB

I see that MongoDB supports authentication (MongoDB Docs) but for Meteor using a remote DB all I’ve found so far is the ability to specify the remote db URL. Is it possible to provide credentials to meteor for accessing the DB?

[edit]
I found an unrelated post on the forums where someone mentioned the URL to mongo like this where it would include a user/password. Perhaps this is the way then?

MONGO_URL=mongodb://user:password@ip:port/mydb?ssl=true