Error accessing AWS.SharedIniFileCredentials when credentials file does not exist #2771
Closed
3 tasks done
Labels
guidance
Question that needs advice or information.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
If you have a
config
file and nocredentials
file, you get an ENOENT error against thecredentials
file when attempting to load a shared credential.Is the issue in the browser/Node.js?
Node.js
If on Node.js, are you running this on AWS Lambda?
No
Details of the browser/Node.js version
Paste output of
npx envinfo --browsers
ornode -v
v10.15.1
SDK version number
npm list aws-sdk
from your root directory[email protected]
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code or minimal repo)
config
filecredentials
fileExpected behavior
SDK handles this without error.
The text was updated successfully, but these errors were encountered: