Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b146eb6

Browse filesBrowse files
committed
Read .aws/credentials
It is OK only not set default value. > Remember, if you set your AWS credentials in the shared credentials file or via environment variables, the AWS SDK for Node.js will automatically detect them, and you will not need to perform any manual credential configuration in your application. http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html
1 parent e35b560 commit b146eb6
Copy full SHA for b146eb6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎bin/node-lambda‎

Copy file name to clipboardExpand all lines: bin/node-lambda
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dotenv.load();
99

1010
var AWS_ENVIRONMENT = process.env.AWS_ENVIRONMENT || '';
1111
var CONFIG_FILE = process.env.CONFIG_FILE || '';
12-
var AWS_ACCESS_KEY_ID = process.env.AWS_ACCESS_KEY_ID || 'missing';
13-
var AWS_SECRET_ACCESS_KEY = process.env.AWS_SECRET_ACCESS_KEY || 'missing';
12+
var AWS_ACCESS_KEY_ID = process.env.AWS_ACCESS_KEY_ID;
13+
var AWS_SECRET_ACCESS_KEY = process.env.AWS_SECRET_ACCESS_KEY;
1414
var AWS_SESSION_TOKEN = process.env.AWS_SESSION_TOKEN || '';
1515
var AWS_REGION = process.env.AWS_REGION || 'us-east-1,us-west-2,eu-west-1';
1616
var AWS_FUNCTION_NAME = process.env.AWS_FUNCTION_NAME || packageJson.name;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.