Closed luciddr34m3r closed 2 years ago
Throwing an error in the absence of this key isn't necessarily the best path forward but probably the most complete. Otherwise there are a lot of edge cases.
We will need to provide a meaningful error message if the variable is missing.
Right now you have to manually create the first admin key in mongo. Need an initialization function for first time setup.
ROOT_KEY
ROOT_KEY
does not exist as an admin key. If it doesn't, create it.