File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -148,14 +148,19 @@ var AWS = require('aws-sdk');
148
148
```
149
149
new AWS.DynamoDB.DocumentClient({
150
150
region: 'localhost',
151
- endpoint: 'http://localhost:8000 '
151
+ 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
154
})
153
155
```
154
156
e.g. for dynamodb document client sdk
155
157
```
156
158
new AWS.DynamoDB({
157
159
region: 'localhost',
158
- endpoint: 'http://localhost:8000 '
160
+ 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
163
+
159
164
})
160
165
```
161
166
You can’t perform that action at this time.
0 commit comments