Skip to content

Commit

Permalink
support for session token based credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
humblelistener committed Aug 31, 2017
1 parent b6671cf commit 70751c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dynamodb.ts
Expand Up @@ -28,7 +28,7 @@ export class DynamoDB {
localPort: 8000
}, options);

AWS.config.update(pick(this.options, ['region', 'accessKeyId', 'secretAccessKey']));
AWS.config.update(pick(this.options, ['region', 'accessKeyId', 'secretAccessKey', 'sessionToken']));

if (this.options.local) {
// Starts dynamodb in local mode
Expand Down

0 comments on commit 70751c7

Please sign in to comment.