Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If credentials file starts with newline it is considered invalid #290

Closed
tsloughter opened this issue May 12, 2016 · 4 comments
Closed

If credentials file starts with newline it is considered invalid #290

tsloughter opened this issue May 12, 2016 · 4 comments
Assignees
Labels

Comments

@tsloughter
Copy link

I discovered this because CircleCI generates the ~/.aws/credentials file on the instances and it has a newline at the beginning, like:

$ cat .aws/credentials 

[default]
aws_access_key_id = ...
aws_secret_access_key =  ...

This leads to the error InvalidFileError ... key aws_access_key_id Couldn't find section: default

@brendanhay brendanhay added the bug label May 13, 2016
@brendanhay brendanhay self-assigned this May 13, 2016
@brendanhay
Copy link
Owner

Thanks for reporting, I'll fix it shortly.

@brendanhay
Copy link
Owner

Same issue as reported in the ini package here.

@brendanhay
Copy link
Owner

The fix has been released as part of ini-0.3.5. I'll need to wait for that to appear in the stackage nightly, and then will release a version of amazonka with the constrained dependency.

@tsloughter
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants