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 details)

Uploaded Source

File details

Details for the file ap-0.1.4.tar.gz.

File metadata

  • Download URL: ap-0.1.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ap-0.1.4.tar.gz
Algorithm Hash digest
SHA256 839f06c47f1dd268f1c5b7c9fb4e1f507a332c51e87e69d645e83ff2d4291b89
MD5 bfb7e319cd4cf6e8687504e79528aee7
BLAKE2b-256 ce2b4ff40135993a440f441bd58943dc35613d9eb6ac6e7386c49c9d0a14a199

See more details on using hashes here.

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