aws-mfa-cache
v1.1.0
Published
## SDK ```typescript const AWS = require('aws-sdk'); const mfa = require('aws-mfa-cache');
Downloads
2
Readme
aws-mfa-cache
SDK
const AWS = require('aws-sdk');
const mfa = require('aws-mfa-cache');
const { credentials, region } = await mfa();
AWS.config.update({
credentials: credentials,
region: region
});
// TODO ...
CLI
$ env $(aws-mfa-cache) node index.js