Skip to main content

aws-gate - AWS SSM Session Manager client CLI

Project description

aws-gate

Build StatuscodecovCodacy BadgePyPI version

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.2.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

aws_gate-0.2.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws-gate-0.2.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for aws-gate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d85c8f0f526b61cb5bc9e0137b16edf2a961f8eaa382645fb910ee08f76a99af
MD5 f7aa8c583f6327c5e4fbd259e6a2369e
BLAKE2b-256 94ba2a147a22d2c36a2a8f0351ef8ce06054002d4e2ae3b9c390df2ea4c26b10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_gate-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for aws_gate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c668c50c0e6c208ccb86e8f2ad1e38d72dd8e071cdf96cfe4e309b430fa85a
MD5 bcbe1f31c05b19ee776ade24a96feae6
BLAKE2b-256 d9656381be5e84fd1b0f7aa79fe86040a97de6272da9862229e41aada4a4884c

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