Skip to main content

AP powers-up commands with AWS profile, assume-role and MFA functionality.

Project description

AP powers-up commands with AWS profile, assume-role and MFA functionality.

e.g:

ap myCrossAccountProfile some command

(Your command must support standard AWS environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SECURITY_TOKEN.)

Installation

pip install ap

Help! It keeps asking for my MFA code

ap asks for an MFA code every time if enabled on a cross-account role.

Use --cached to store MFA for 60 minutes, e.g:

ap --cached myCrossAccountProfile some command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ap-0.1.4.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page