Skip to content

Commit 4f24f4f

Browse files
authored
Update README.md
1 parent d44faa7 commit 4f24f4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,17 @@ var AWS = require('aws-sdk');
149149
new 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
```
156156
e.g. for dynamodb document client sdk
157157
```
158158
new 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
```

0 commit comments

Comments
 (0)