Skip to main content

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.

Options

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.

Actions:

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

Options:
-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.

Example

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

aws-login-0.1.4.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file aws-login-0.1.4.tar.gz.

File metadata

  • Download URL: aws-login-0.1.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for aws-login-0.1.4.tar.gz
Algorithm Hash digest
SHA256 430dc182e4ff270f0c0883fbb59702adac59c2a0106dd0830c14060fdd85e295
MD5 3887183013e2172f846b1a6fc00e4d8a
BLAKE2b-256 95e22bcd79f0bed9d549baffa4d4e6c311fb0586fd9120d3afac3c1205ce6afe

See more details on using hashes here.

Supported by

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