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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for envassume-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ef9ed0f5223cfa8e35b0146e132ee1b635468b924fb11d1c9df875a9e91caab6
MD5 08307dfa557f4a580402cdf508ea6560
BLAKE2b-256 751659ada4f8291cd2a8b20860fa7121548e049777921a65d1c1c66f662fa95b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for envassume-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2806890a99cba56c42627b8f09291720bfc8998bdad83f2c83de3148216c64fd
MD5 30d59170091e09407bbd7fefc174a9aa
BLAKE2b-256 04a51439312bb7adecc6ac25fc449450f315e798900ed81cc6831c3aa6fcdbd5

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