1.3.5 • Published 6 months ago

aws-cli-mfa v1.3.5

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

npm npm Platforms supported

aws-cli-mfa

MFA authentication for aws-cli

Features

  • Get temporary credentials to use aws-cli
  • Cross platform

Prerequisites

  • Node and NPM installed
  • AWS cli installed

Usage

Get started

$ npm i -g aws-cli-mfa

Run the configuration script (one time)

$ aws-mfa-conf --profile awsprofile --mfa arn:aws:iam::000000000000:mfa/account

You will get the the json configuration as a response

$ aws-mfa-conf --profile awsprofile --mfa arn:aws:iam::000000000000:mfa/account
{
  "profile": "awsprofile",
  "mfa_device_arn": "arn:aws:iam::000000000000:mfa/account"
}
awc-cli-mfa configured! Ready to use.

From now on, you can use aws-mfa with the saved configuration

Run MFA script

$ aws-mfa

Enter the generated mfa code from the virtual device

$ aws-mfa
MFA code: 123456

You 're now authorized to use aws-cli!

1.3.5

6 months ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.0

4 years ago

1.3.0

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago