Change initial realm-admin password on ROS start



Hello all,

I’ve been digging around a bit trying to find a way to set up the realm-admin user’s password to be non-empty when I initially start my Realm Object Server? Is this possible with a setting in src/index.ts? Thank you!


@kalex you can set the ROS_DEFAULT_PASSWORD environment variable when you start the server and that will be the admin user’s password


Works like a charm, thank you!


@ianward, a follow-up question, if I may:
Are there other things in ROS configurable through environment variables, and is there documentation for these somewhere that I can access? I’ve been poking around the server/sync documentation most of the afternoon and haven’t found anything, but I can accept it if I’ve been looking in the wrong places :slight_smile: