File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -149,17 +149,17 @@ var AWS = require('aws-sdk');
149149new AWS.DynamoDB.DocumentClient({
150150 region: 'localhost',
151151 endpoint: 'http://localhost:8000 ',
152- accessKeyId: 'bogusaccesskeyid ', // needed if you don't have aws credentials at all in env
153- secretAccessKey: 'bogussecretaccesskey ' // needed if you don't have aws credentials at all in env
152+ accessKeyId: 'DEFAULT_ACCESS_KEY ', // needed if you don't have aws credentials at all in env
153+ secretAccessKey: 'DEFAULT_SECRET ' // needed if you don't have aws credentials at all in env
154154})
155155```
156156e.g. for dynamodb document client sdk
157157```
158158new AWS.DynamoDB({
159159 region: 'localhost',
160160 endpoint: 'http://localhost:8000 ',
161- accessKeyId: 'bogusaccesskeyid ', // needed if you don't have aws credentials at all in env
162- secretAccessKey: 'bogussecretaccesskey ' // needed if you don't have aws credentials at all in env
161+ accessKeyId: 'DEFAULT_ACCESS_KEY ', // needed if you don't have aws credentials at all in env
162+ secretAccessKey: 'DEFAULT_SECRET ' // needed if you don't have aws credentials at all in env
163163
164164})
165165```
You can’t perform that action at this time.
0 commit comments