Skip to main content

Assume an AWS IAM role from environment variables

Project description

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for envassume-0.1.tar.gz
Algorithm Hash digest
SHA256 398adfff5136a361b8502b9ba48d66f304178d33f99df3e8e84dca28094d339c
MD5 2bc7fe1c26f094bf5fdca8fa2e1b2667
BLAKE2b-256 45547079eebe5a20749c0681940ab3bdf3ab87041b4c860d7d2edc784801320b

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