-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in EC2 credential provider parsing
The only parser basically had:: config = dict(line.split('=', 1) for line in lines if '=' in line) access_key = config.get('AWSAccessKeyId') secret_key = config.get('AWSSecretKey') Which ignores lines that don't have a '=' char in it. This behavior has been re-added and additional tests to cover a few of these edge cases have also been added.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters