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

Uploaded Source

Built Distribution

envassume-1.0.3-py2-none-any.whl (6.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: envassume-1.0.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13

File hashes

Hashes for envassume-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ada1362cc22f71279de722f2121b5460ed6a93da302867d3be6393019a8d11a6
MD5 b866f1b0fcde4e92d3375476d28b7e89
BLAKE2b-256 d616efff4660ebe0f93a5547ea981015e7569e52798b6a958c95d7b091d8454f

See more details on using hashes here.

File details

Details for the file envassume-1.0.3-py2-none-any.whl.

File metadata

  • Download URL: envassume-1.0.3-py2-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13

File hashes

Hashes for envassume-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 c6a447247182574103f9183b69f0882429bdb97e2f8e3d97e17c098d6f667ec2
MD5 a5ad955c2ada4d2601b0db83911293d7
BLAKE2b-256 8508015244171837f1c5414ca4055be1327fbfdf8661ee0f3585da7bceaf73a3

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