Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

AWS login using the Secure Token Service

Project description

A simple command line utility to login to AWS accounts using role based access and the secure token service.


Usage: aws_login [OPTIONS] ACTION

Aws-login is an AWS Helper CLI for using Role Based Access, easy and securly open the management console with the command line.


aws-login start-mfa-session, aws-login mfa

aws-login add-profile, aws-login add

aws-login open-console, aws-login oc

aws-login print-console, aws-login pc

-s, --source-profile TEXT
 The source profile.
-t, --target-profile TEXT
 The target profile.
-r, --role TEXT
 The role to assume
-a, --account-id TEXT
 Account ID to assume the role
-v, --verbose show verbose output.
-p, --profile TEXT
 Use this profile for mfa session or opening console.
-E, --mfa-expiration INTEGER
 number of seconds after which the MFA credentials are no longer valid
-R, --role-expiration INTEGER
 number of seconds after which the role credentials are no longer valid
-C, --console-expiration INTEGER
 number of seconds after which the console credentials are no longer valid
-T, --token TEXT
 from your MFA device
-h, --help Show this message and exit.


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 aws-login, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size aws-login-0.1.4.tar.gz (6.1 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