subdomain-registrar
subdomain-registrar copied to clipboard
Support for using and adminpassword via Env Var
Rather than using a hardcoded adminPassword in the config file like :
adminPassword: 'NEEDS-A-PASSWORD',
It would be better to use an env if present: ADMIN_PASSWORD="my-fake-password"
.
This would prevent adding an admin password in plain-text, similar to how the payment & owner keys are handled.
https://github.com/blockstack/subdomain-registrar/blob/master/src/config.js#L53