edasque / DynamoDBtoCSV

Dump DynamoDB data into a CSV file
Apache License 2.0
471 stars 152 forks source link

Adding support for automatically-loaded credentials #22

Closed okofish closed 7 years ago

okofish commented 7 years ago

The AWS JS SDK supports a couple methods of automatically specifying service credentials, such as the AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY environment variables and the ~/.aws/credentials shared credentials file. This PR adds support for those by only loading from config.json if AWS.config.credentials isn't already set, and adds a --region command line argument for specifying the region without a configuration file.

edasque commented 7 years ago

Thank you.