ruimarinho / gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
MIT License
217 stars 38 forks source link

ENOENT when ~/.aws does not exist #10

Closed lizthegrey closed 4 years ago

lizthegrey commented 4 years ago

We appear to be opening ~/.aws/credentials without first verifying that .aws exists (and creating it if it does not).

ruimarinho commented 4 years ago

Thanks for the report @lizthegrey! You were right, the parent folder was not being checked.

Fixed on https://github.com/ruimarinho/gsts/tree/v2.2.0.

(I really need to start adding tests..)