npm install get-aws-creds
var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback, "./path/to/creds/json");
Just set AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
, and AWS_REGION
.
var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback);
Nothing to do! get-aws-creds
uses get-iam-creds
to fetch the region and secrets from instance metadata.
var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback);
Apache 2, because non-copyleft + patent protection.