# aws-sesame

> Open/close access to servers on AWS by IP like a boss

Latest version **0.0.1** (published 2014-08-18) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install aws-sesame
pnpm add aws-sesame
yarn add aws-sesame
bun add aws-sesame
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-08-18 |
| First published | 2014-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Brian Muller |
| Maintainers | bmuller |
| Keywords | aws, vpn |

## Links

- npm: https://www.npmjs.com/package/aws-sesame
- Repository: https://github.com/bmuller/aws-sesame
- Issues: https://github.com/bmuller/aws-sesame/issues
- npm.io page: https://npm.io/package/aws-sesame

## Dependencies (1)

- [aws-sdk](https://npm.io/package/aws-sdk.md) >= 2.0.14

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-08-18
- 0.0.0 — 2014-08-18

## README

Open/close access to servers on AWS by IP like a boss.

## Installation

```bash
$ npm install aws-sesame
```

## Examples
As simple as it gets.

```js
var Sesame = require('aws-sesame');

// config options are any listed here:
// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.html#constructor-property
var s = new Sesame({region: 'us-east-1', accessKeyId: 'keyid', secretAccessKey: 'key'});

// revoke access
// params: security group, protocol type, source ip, port start, port end, callback
// returns: true if successful, false otherwise
s.revokeAccess('sg-1123123', 'tcp', "1.2.3.4", 22, 22, function(r) {
		 console.log(r);
	       });

// grant access
// params: security group, protocol type, source ip, port start, port end, callback
// returns: true if successful, false otherwise
s.grantAccess('sg-11231223', 'tcp', "1.2.3.4", 22, 22, function(r) {
		 console.log(r);
	       });


// test access
// params: security group, protocol type, source ip, port start, port end, callback
// returns: true if access exists, false otherwise
s.grantAccess('sg-11231223', 'tcp', "1.2.3.4", 22, 22, function(r) {
		 console.log(r);
	       });
```

---
_Source: https://npm.io/package/aws-sesame · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
