Skip to main content

AP

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

Release files for ap 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ap 0.1.4
File Size Uploaded
ap-0.1.4.tar.gz 3.0 kB Details

Release files / ap-0.1.4.tar.gz

Download URL ap-0.1.4.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
839f06c47f1dd268f1c5b7c9fb4e1f507a332c51e87e69d645e83ff2d4291b89
BLAKE2b-256 checksum
How to use checksums
ce2b4ff40135993a440f441bd58943dc35613d9eb6ac6e7386c49c9d0a14a199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page