Write bootstrapping script
This script would be run before Sentinel is run for the first time. It does:
-
The admin user creation -
The indexing of database collections
It should also:
-
be able to handle setup when mongo
is already run with--auth