@missio/aws-mfa-util

1.0.0-beta.2 • Public • Published

AWS MFA Util

Simple utility to generate temporary AWS credentials using MFA.

Installation

From npm (recommended)

You need to have Node.js (and npm which is bundled) installed (which optionally can be done using NVM).

Install the package globally using npm:

npm install -g @missio/aws-mfa-util

Usage

Default profile:

aws-mfa -c 123456

Specific profile:

aws-mfa -s myProfile123 -c 123456

Now AWS CLI commands as well as AWS API based programs can use the credentials by setting the AWS_PROFILE environment variable:

export AWS_PROFILE=mfa

Command line options

Flag Description Default
-c MFA code
-s Source profile default
-o Output profile mfa
-f Credentials dir ~/.aws/credentials

Readme

Keywords

Package Sidebar

Install

npm i @missio/aws-mfa-util

Weekly Downloads

0

Version

1.0.0-beta.2

License

MIT

Unpacked Size

5.48 kB

Total Files

6

Last publish

Collaborators

  • missio