Skip to main content

A utility for managing AWS Console Sessions with Firefox Containers

Project description

AWS coco (console container)

This tool allows you to manage AWS Console Sessions with Firefox Containers

Quickstart

Ensure you've met the requirements.

$ pip install aws-coco

Usage

$ coco -c green -i fingerprint

You should now have a new browser tab with your aws session!

Continue reading for a more in-depth walkthrough of the setup.

Requirements

If using containers:

If you don't wish to install the extension through the marketplace, the source for the extension can be found here.

If not:

If you do not wish to use containers, make sure to specify the --no-container flag.

Installation

$ pip install aws-coco

Usage

This section explains how to use coco and covers some of the options available to you.

Basic Usage

$ coco --color green --icon fingerprint --name test

This will open the url in a green firefox container tab named test with a fingerprint icon.

Credential Resolution

This project uses boto3. You can learn more about how boto3 resolves credentials here.

If you specify the --profile flag, coco will pass that value into the boto3 session and it will attempt to use the corresponding section in the ~/.aws/credentials file for the session.

Options

This section contains a description of the various options available to you. You can also pass the -h flag to print the help.

Flag Description Default Required
--color, -c The container tab's color false
--container, --no-container Determines if the url should be opened in a firefox container true
--destination, -d The destination URL to open in the AWS console false
--icon, -i The container tab's icon false
--name, -n The container tab's name The profile name if passed false
--open, --no-open Determines if the url should be automatically opened in the browser true
--profile, -p The AWS profile to use false

Available Colors

value
blue
turquoise
green
yellow
orange
red
pink
purple

Available Icons

value
fingerprint
briefcase
dollar
cart
vacation
gift
food
fruit
pet
tree
chill
circle
fence

Development

$ git clone https://github.com/wulfmann/aws-coco.git
$ git clone git@github.com:wulfmann/aws-coco.git

Install Dependencies

$ poetry install

Run the command

$ poetry run coco -c green -i fingerprint

Run tests

$ poetry run pytest

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-coco-0.1.6.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

aws_coco-0.1.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file aws-coco-0.1.6.tar.gz.

File metadata

  • Download URL: aws-coco-0.1.6.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.0 Darwin/19.5.0

File hashes

Hashes for aws-coco-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f9a952acf9a90de593dc0532f65e4f5533ae475a15294ff1b18e53ca8094fc40
MD5 f08dbbaaa89780cd409677b0a09ebd79
BLAKE2b-256 927e02e0cd4072e04df94405172012f97abebae3d8f750905c255c2c8e7b46a7

See more details on using hashes here.

File details

Details for the file aws_coco-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: aws_coco-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.0 Darwin/19.5.0

File hashes

Hashes for aws_coco-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cd28b6fe2e4028ccfe6b7cf640bd44051a272d9084db04dea0ca6b530ad66a28
MD5 256d93b97c8e42596fae3f1df0ff8e7a
BLAKE2b-256 fd2b8db3e58d984315aa984c2d8531888af79c599265d110815dc8454f260663

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