Skip to content

Commit 6179b18

Browse files
authored
AWS access keys may not contain underscores (#570)
See also architect/sandbox#737.
1 parent b59144d commit 6179b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function getAwsClient (params, callback) {
1212
.then(client => callback(null, client))
1313
.catch(err => {
1414
if (err.message.includes('AWS credentials') && !useAWS()) {
15-
let accessKeyId = 'arc_dummy_access_key'
16-
let secretAccessKey = 'arc_dummy_secret_key'
15+
let accessKeyId = 'arcDummyAccessKey'
16+
let secretAccessKey = 'arcDummySecretKey'
1717
awsLite({ ...params, accessKeyId, secretAccessKey })
1818
.then(client => callback(null, client))
1919
.catch(callback)

0 commit comments

Comments
 (0)