1.0.0-beta.2 • Published 11 months ago

@missio/aws-mfa-util v1.0.0-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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

FlagDescriptionDefault
-cMFA code
-sSource profiledefault
-oOutput profilemfa
-fCredentials dir~/.aws/credentials
1.0.0-beta.2

11 months ago

1.0.0-beta.1

11 months ago