Skip to main content

Terminal login toolkit for Amazon Web Services (AWS) enforcing and simplifying use of Multi-Factor Authentication (MFA).

Project description

Work secure using MFA according to best practices, and efficiently with AWS terminal tools like aws cli, aws-shell, terraform, etc.

Highly opinionated Amazon Web Services (AWS) terminal login toolkit, focused on enforcing and simplifying AWS Multi-Factor Authentication (MFA).

Written in Python 3, backwards compatible with Python 2, thanks to futures!

Currently being heavily tested in production against AWS multi-account setup (Well-Architected Framework) on macOS High Sierra.

Feels most at home using virtualenv, of course.

How it works:

  • Stores your AWS IAM credential profile in ~/.qrmr/credentials.ini;

  • Prompts for MFA OTP code;

  • Uses AWS STS to retrieve and store fresh SessionToken and temporary Access Key ID and Secret Access Key using your credential profile.

Near future:

  • Manage ~/.aws/credentials and ~/.aws/config files

  • Unit Tests :)

Because you probably just want to start using it:

Installation of QRMR:

pip install qrmr

Setup of AWS Credentials:

qrmr setup

Refreshing your SessionToken and temporary keys:

qrmr refresh

Be cool:

aws s3 ls

REMEMBER: set environment variable AWS_PROFILE in your shell or virtualenv to make life easier:

export AWS_PROFILE=iam_user_name

Find out more features by running:

qrmr --help

Find us on: https://gitlab.com/qrmr/qrmr

Resources:

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

qrmr-0.4.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

qrmr-0.4.2-py2.py3-none-any.whl (11.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file qrmr-0.4.2.tar.gz.

File metadata

  • Download URL: qrmr-0.4.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qrmr-0.4.2.tar.gz
Algorithm Hash digest
SHA256 45ae1e0cd9707a635614c164a13ed969cafbcc5088e6c4d09fecb7d46c5fb504
MD5 8bc219d468a0fad4cdb7ca837f66b262
BLAKE2b-256 e92a80241b95ed87db8e9439caa2c0db2c89c360f9e5d8322a4c5a3689a13b79

See more details on using hashes here.

File details

Details for the file qrmr-0.4.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qrmr-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 53580bb941b80400b5401a8b1877df0fcd0c155341252cd1031882580e5a2be8
MD5 8582f62b6de7fc1242ccb87e5e0487e7
BLAKE2b-256 0c7188fc45b5be3aac33eace1e98be45149a6bc52d2631379f53c65760e99dea

See more details on using hashes here.

Supported by

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