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 https://requires.io/github/wamonite/envassume/requirements.svg?branch=master

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

Uploaded Source

Built Distribution

envassume-1.0.0-py2-none-any.whl (6.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: envassume-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for envassume-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d07727b15cb68d5a4218ee22ac79c45736143f20a52a1154a11e94551f559021
MD5 5b9d24896cde1e667eeb6f924d10288b
BLAKE2b-256 313393ed8074e049ae7fa27ed7f5bb78fa2918eafc008bf71f2616b391d813b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for envassume-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 7f0866f9629f1985fc112263639de9abb1322ace7f0ec25afff3aeefd4c6576e
MD5 07638822da80f542941daa4b968a1b84
BLAKE2b-256 96d417a0af1f36d7c4982e27a46f995ce446790a0b20078c522a2b7966322370

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