Skip to main content

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

Project description

http://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-0.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for envassume-0.2.tar.gz
Algorithm Hash digest
SHA256 64725fe7858c2dc7ff9d6f46992667be973bd1741e8c6c7d8ed0d7a821ed8650
MD5 2b8ef262b1f357bbb5d0992f86ac8565
BLAKE2b-256 ba8faf2ffafd9538f8739c238039684924acf4f713a4d08993231cb0a1f4b3ed

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