Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

Config file now created with mode 0600. #150

Closed keymandll closed 3 years ago

keymandll commented 6 years ago

Summary

The configuration file that contained credentials was created world-readable. This updated ensures the file is created with mode 0600. (only readable by the user)

Other Information

Please note I haven't done extensive testing after implementing the change. I just did a nexmo numbers:list to see if it is working and it was so I assumed credentials could be read without any issues.