The aws node sdk supports configuration via environment variables [1].
Sadly I think that by the way you default values to "" with your call to AWS.Lambda means that the sdk does not attempt to look at these environment variables and instead you get a credentials error.
[1] http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html