Skip to main content

Assume an AWS IAM role from AWS API credentials in environment variables

Project description

https://img.shields.io/pypi/v/envassume.svg https://travis-ci.org/wamonite/envassume.svg?branch=master https://codecov.io/gh/wamonite/envassume/branch/master/graph/badge.svg

Assume an AWS IAM role from AWS API credentials in environment variables.

Usage

usage: envassume [-h] [-i EXTERNAL_ID] [ARN] command [argument [argument ...]]

optional arguments:
    -h, --help              show this help message and exit
    -i, --id EXTERNAL_ID    external id
    ARN                     AWS role ARN to assume (required if not set by environment variable)

environment variables:
    environment must contain valid AWS API credentials

    AWS_ASSUME_ROLE=ARN
        no options can be present before the command if this is defined

    AWS_ASSUME_ID=EXTERNAL_ID

License

Copyright (c) 2017 Warren Moore

This software may be redistributed under the terms of the MIT License. See the file LICENSE for details.

Contact

      @wamonite     - twitter
       \_______.com - web
warren____________/ - email

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

envassume-1.0.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

envassume-1.0.4-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file envassume-1.0.4.tar.gz.

File metadata

  • Download URL: envassume-1.0.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

File hashes

Hashes for envassume-1.0.4.tar.gz
Algorithm Hash digest
SHA256 2c40a66e2d8dd082f3545413a41d190fd0819caffd1067e0b01197d856f9c230
MD5 49ee5933e49f8f1f26f241bddc656788
BLAKE2b-256 73e466761beb5d2dd2699d7278995215d221c4cc7fe487bedde6621d6be31d9d

See more details on using hashes here.

File details

Details for the file envassume-1.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: envassume-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

File hashes

Hashes for envassume-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a8b0f321eacdcd0f6495a5ae5ba1304c5e70f7a1f349a4e63ac4d86c9128442
MD5 be29a7ae69513d0c8ad4976a4bcdd407
BLAKE2b-256 c53a5e1817de93043bce4594c78dea15fc370cdcde1a1cf37493fded33e2dd3c

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