Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

assume-aws-role

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assume-aws-role - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

17

bin/assume-aws-role.js

@@ -13,3 +13,16 @@ #!/usr/bin/env node

var filename = path.join(home, ".assume-aws-role", "config");
var readConfig = function(filename) {
var config = {};
try {
config = fs.readJsonSync(filename, {throws: false});
} catch (read_error) {
if (read_error.code != 'ENOENT') {
throw read_error;
}
}
return config;
};
if (!command) {

@@ -41,3 +54,3 @@ console.error("Usage: assume-aws-role add <alias> <role-arn> [mfa-arn]");

var config = fs.readJsonSync(filename, {throws: false}) || {};
var config = readConfig(filename);

@@ -55,3 +68,3 @@ config[alias] = {

var config = fs.readJsonSync(filename, {throws: false}) || {};
var config = readConfig(filename);
if (!config[command]) {

@@ -58,0 +71,0 @@ console.error("%s not found.", command);

2

package.json
{
"name": "assume-aws-role",
"version": "1.1.0",
"version": "1.1.1",
"description": "Work with multiple AWS accounts more easily",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/jbuck/assume-aws-role",

@@ -33,2 +33,9 @@ # assume-aws-role

You can also add roles without MFA devices:
```
assume-aws-role add sandbox \
"arn:aws:iam::123456789012:role/Administrator"
```
## How does it work?

@@ -35,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc