Skip to main content

AWSee


AWSee

Command line tool that helps handle multiple AWS Account Credentials (its Roles and MFAs), when working with AWSCLI sessions.

It opens and controls AWS Sessions using a command-line tool, allowing performing one or all of the following tasks:

  • Start session using a MFA Token
  • Assume a Role
  • Open a session in the same or another terminal window
  • Keep track of session information (expiration)
  • "Injects" alias/DOSKEY commands in your opened session, that's configurable. Entries in file, examples:
    • alias s3='aws s3 ls'
    • alias info='awsee -i'

Plus, it also tries (if allowed by your AWS Polices) automatically bring and save locally information about your MFA-Devices to be used later on.

When not possible to retrieve account information automactically (due to security reasons), you still can register it locally using this tool. You can save and keep them updated, to help to deal with your AWS Sessions, like:

  • MFA-Devices
  • Roles

Save and mantain your credential profiles associated with their respective Roles and MFA Devices. You can use the command "synchronize" to remotely bring this information (if allowed by your AWS Polices), check help documentation. AWSee


The complete help/manual is available inside the AWSee tool itself, check it out:

# To show a short version...
$:~ awsee -h

# Show how to use, see below:
$:~ awsee -u
awsee [TOKEN-MFA] [-p profile] [-r role] [-nt or --new-term]
Examples:
  awsee 857946                   Open AWS Session with default profile with your six-digit MFA Token     
  awsee 857946 -p infra          Open AWS Session with the passed profile using your six-digit MFA Token
  awsee 857946 -p infra -r prod  Open AWS Session with the passed profile using your six-digit MFA Token
                                 and immediatelly assume the passed role at this new session
  awsee                          Open AWS Session with default profile, it will check if needs MFA
  awsee -p dev                   Open AWS Session with the passed profile, asks for MFA if needed
  awsee -r developer             Assume a Role inside the current AWS Session
  awsee -p dev  -r developer     Open AWS Session with the passed profile, and following assume the role
  awsee -p prod -r admin         Open AWS Session with the passed profile, and following assume the rol
  awsee -nt or --new-terminal    When opening an AWS Session, will do it in a new terminal
  awsee -h  or --help            Show this and all auxiliary functions (use --help for more information)
  awsee -u  or --usage           Show only how to use, not the auxiliary function
  awsee [FUNCTION]               Execute an auxiliary function, see below for all available options

# Use the awsee --help to see all the functions and their usage

# More things...
# At the folder ~/.awsee/ you'll find two files that you can customize a few more things:
# ~/.awsee/awsee.ini
### --> Colors on/off
### --> Emoticons on/off
### --> At Windows, the New Terminal to be used (CMD, CMDER or GitBash)
# ~/.awsee/alias/alias_awsee.txt
### --> Add/Remove here your ALIAS/DOSKEYS (Linux/Windows) for new opened sessions, things like:
### ----> DOSKEY ec2=aws ec2 describe-instances --query Reservations[*].Instances[*].InstanceId --output table
### ----> DOSKEY s3=aws s3 ls
### ----> DOSKEY ssmfrodo=aws ssm start-session --target "i-0452a94919225f816"

For more information and details, check here:

AWSee

Metadata

Release files for awsee 0.0.28

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

Source distribution (sdist)

Source distribution for awsee 0.0.28
File Size Uploaded
awsee-0.0.28.tar.gz 41.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awsee 0.0.28
File Interpreter ABI Platform
awsee-0.0.28-py3-none-any.whl Python 3 none any Details

Total release size: 88.3 kB

Release files / awsee-0.0.28.tar.gz

Download URL awsee-0.0.28.tar.gz
Size 41.8 kB
Tags Source
SHA-256 checksum
How to use checksums
acf054d433371971a918c2fb97007a81d22ac9d283d648b31a0d0945e834a283
BLAKE2b-256 checksum
How to use checksums
d59ebb5ba8ceb8120a2291d8af128685bfe3fd038ac6039507e270099ec22358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release files / awsee-0.0.28-py3-none-any.whl

Download URL awsee-0.0.28-py3-none-any.whl
Size 46.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bdeeddf65984cd9e1783f1c958b55680468f3b4fe04f4d76250581c3775c7f2
BLAKE2b-256 checksum
How to use checksums
4489f9c9abd7c15a98011ee9a2e6d34a99a84cb7be0d917d99c87bea9ad811d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.28 This release

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

1 release file

0.0.5

2 release files

0.0.4

2 release files

0.0.3

1 release file

0.0.2

2 release files

0.0.1

2 release files

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