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.

Files for ap, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size ap-0.1.4.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page