Skip to main content

aws-gate - AWS SSM Session Manager client CLI

Project description

aws-gate

Build StatuscodecovCodacy Badge

AWS SSM Session manager client

Motivation

I am using AWS a lot and I am tired of dealing with everything that comes with the bastion host (additional instance one has to maintain, distribute SSH keys (shared SSH keys are not an option for me), exposing SSH to the network). A while ago, Amazon released a service to fix this - AWS Systems Manager Session Manager. However, CLI user experience of Session Manager is limited and lacks some features:

  • ability to connect to instances by other means (e.g. DNS, IP, tag, instance name, autoscaling group) as aws cli supports only connecting by instance IDs
  • configuration file support for storing connection information via Session Manager

aws-gate tries to address these issues.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Python 3.7+ (earlier Python 3 versions should work too)
  • session-plugin-manager from AWS
  • SSM Agent version 2.3.68.0 or later must be installed on EC2 instances we want to connect to
  • Proper IAM permissions for instance profile

Installing

pip install aws-gate

License

This project is licensed under the BSD License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-gate-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

aws_gate-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file aws-gate-0.1.0.tar.gz.

File metadata

  • Download URL: aws-gate-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for aws-gate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eeb8a5e0e8cc26fa4d0adfec0bb9a883561aee215a1d8e0f0310551295dbcd97
MD5 09a3cb9faf4d520a51e139bb97aa79fa
BLAKE2b-256 0ecb820d889c0e026058cebcece5ef93aaffd2c91729831ad06262d918d2326a

See more details on using hashes here.

File details

Details for the file aws_gate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aws_gate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for aws_gate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d986f417da48f023790eb7934a8bcc29fe7458e5e94c0e7207bc428f241e05c8
MD5 9468c8614358cf3abaf46513a17d9d61
BLAKE2b-256 ca932fd6e192e4ab9bcfe10861a8eb6316fa62b3adc059d5fc6db070188fb161

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page