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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for envassume-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3e6dc684bf13e56bf3ad4ea43d7319cd3930f948a34a98f4967926ffaac40f79
MD5 0615e9cf75d9c7d5318c15a90982d5bd
BLAKE2b-256 46f21309a9b1f46a8fc2e357c8afb1e768d20e151711024b27d75ecafbfd214d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for envassume-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b9f549298b0d7a0377508ace3bab821985d9fb2f8223463365f0ca3e10fee9a2
MD5 ddb9f6ab08ba0458ccfb44bc282a059e
BLAKE2b-256 f43fe75fdd2faaacd77f621f21ccf515000392e93117289b0a183adebe87578f

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