https://github.com/bradoyler/aws-mfa
https://github.com/bradoyler/aws-mfa
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bradoyler/aws-mfa
- Owner: bradoyler
- Created: 2016-06-24T02:44:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T03:10:48.000Z (almost 9 years ago)
- Last Synced: 2025-03-15T11:18:20.051Z (about 1 month ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS-MFA
CLI tool for fetching (AWS) [Multi-Factor Auth](https://aws.amazon.com/iam/details/mfa/) credentials## Install
```sh
npm install -g aws-mfa
touch .aws-mfa
```Populate `.aws-mfa` file with AWS credentials
```
AWS_ACCESS_KEY_ID=ZZZZZZZZZZ
AWS_SECRET_ACCESS_KEY=xyZxyZxyZxyZxyZxyZ
MFA_ARN=arn:aws:iam::999999999999:mfa/username
```## Usage
```sh
aws-mfa <6 digit TokenCode>
```This will output the file `aws_session.json`