New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mfaws

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mfaws

A cli tool to manage multi-factor IAM User authentication for the AWS CLI.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

mfaws npm

Easy MFA access for AWS IAM Users for the AWS CLI.

Works with any AWS tool that reads from ~/.aws/credentials (e.g. SDKs, CDK, SAM, CodeCommit GRC).

Install

Install with NPM: npm i -g mfaws

Usage

Each example below assumes that you have run aws configure and have set an access key id and secret access key.

All mfaws commands can be run with the --profile flag to select a user profile.

Set credentials
$ mfaws set
? Enter your MFA Code: » 012345

Expiration: 5/4/2020, 9:18:29 AM

$ aws ... // This call is MFA authenticated
Restore original credentials
$ mfaws restore

$ aws ... // This call is not MFA authenticated

Keywords

aws

FAQs

Package last updated on 08 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts