Open ports in Security Groups for your current IP address
Project description
SG Sesame
Open ports in Security Groups for your current IP addressInstallation
Install globally using pipx:
pipx install sg-sesame
Usage
Quickstart
Just install and run:
sg-sesame --port 22 --add
After the first run, you can omit the --add flag: sg-sesame --port 22.
If you have more than one Security Group with a rule for port 22, you will be asked to choose from a list.
Advanced usage
$ sg-sesame --help
Usage: sg-sesame [OPTIONS]
Options:
--port INTEGER [required]
--note TEXT Description of the rule to be added/updated. If omitted,
the machine hostname will be used.
--add / --no-add If not specified, will try to update an existing rule
that has matching `note`, `port` and `protocol`.
Otherwise will add a new rule.
--group-name TEXT If specified, the rule will be added to the Security
Group with this name. Otherwise will prompt the user to
select a SG.
--protocol TEXT Protocol to use for the rule [default: tcp]
--profile TEXT AWS profile to use [default: default]
--region TEXT AWS Region to connect to
--help Show this message and exit.
Credits
This package was created with Cookiecutter and the cs01/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sg-sesame-0.1.1.tar.gz.
File metadata
- Download URL: sg-sesame-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6fb76d18c5361cf057255247b796197e40f6e6257fc1e71af6713a80009fe8d
|
|
| MD5 |
bc475fdbbf497d5e7b4752ef67a766d4
|
|
| BLAKE2b-256 |
bb3c08db60006df769c4dd6a4bfe746e650df18aaf6359212d9596138fffab78
|
File details
Details for the file sg_sesame-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sg_sesame-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
617e6464992cf36b2591fede623bc830e17174c6e1329d6d17bb30ee4c084a3c
|
|
| MD5 |
94fcbf09efa5d9df8f6767a6db905c9e
|
|
| BLAKE2b-256 |
0e29811232e1b98e4692be2fefdf0c097ca7d22b6839d53aa4a45b71ea1d555d
|