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.
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.