node-bandwidth
node-bandwidth copied to clipboard
Dashboard Auth - Do not use main password, rather use a token
Using dashboardAuth in your API like so:
var dashboardAuth = { accountId : "accountId", userName : "userName", password : "password", subaccountId : "subaccountId" };
means that we have to store the actual password (same that controls billing, etc.) in the source code/environment variables/etc. I consider that a terrible practice. Could we have dashbordAuth object using just some tokens instead?