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');
149
149
new AWS.DynamoDB.DocumentClient({
150
150
region: 'localhost',
151
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
+ 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
154
154
})
155
155
```
156
156
e.g. for dynamodb document client sdk
157
157
```
158
158
new AWS.DynamoDB({
159
159
region: 'localhost',
160
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
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
163
163
164
164
})
165
165
```
You can’t perform that action at this time.
0 commit comments