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
@hstove something like this should work i think: https://github.com/blockstack/subdomain-registrar/commit/0b091b1f521af8f540960a4f74b915bfaa71c88b