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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839f06c47f1dd268f1c5b7c9fb4e1f507a332c51e87e69d645e83ff2d4291b89 |
|
MD5 | bfb7e319cd4cf6e8687504e79528aee7 |
|
BLAKE2b-256 | ce2b4ff40135993a440f441bd58943dc35613d9eb6ac6e7386c49c9d0a14a199 |