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

assumer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assumer

Assume AWS IAM roles between Control account and Target accounts

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
1
-90%
Maintainers
1
Weekly downloads
 
Created
Source

assumer-js

A JavaScript library for assuming AWS IAM roles between accounts.

NPM

Known Vulnerabilities

Install

npm install -S assumer

Usage

const assumer = require('assumer');

const data = {
  controlAccount: '123456789012',
  controlRole: 'control/role',
  targetAccount: '111111111111',
  targetRole: 'target/role',
  username: 'username',
  mfaToken: '123456'
}
assumer(data).then(creds => console.log(creds))
// {AccessKeyId: ASIA..., SecretAccessKey: ..., SessionToken: ...}

TODO

  • Add tests

Keywords

assume

FAQs

Package last updated on 20 Mar 2017

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