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.

Source Distribution

ap-0.1.4.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page