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
sg-sesame-0.1.1.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for sg_sesame-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617e6464992cf36b2591fede623bc830e17174c6e1329d6d17bb30ee4c084a3c |
|
MD5 | 94fcbf09efa5d9df8f6767a6db905c9e |
|
BLAKE2b-256 | 0e29811232e1b98e4692be2fefdf0c097ca7d22b6839d53aa4a45b71ea1d555d |