Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
This tool allows you to manage AWS Console Sessions with Firefox Containers
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.
If coco
is too generic, this package also exposes aws_coco
.
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.
$ pip install aws-coco
This section explains how to use coco
and covers some of the options available to you.
$ coco --color green --icon fingerprint --name test
This will open the url in a green
firefox container tab named test
with a fingerprint
icon.
This can be annoying to type, so it's recommended to build aliases for your accounts.
Example alias:
alias coco-test=coco --color green --icon fingerprint --name test
Now you can just run:
$ coco-test
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.
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 |
value |
---|
blue |
turquoise |
green |
yellow |
orange |
red |
pink |
purple |
value |
---|
fingerprint |
briefcase |
dollar |
cart |
vacation |
gift |
food |
fruit |
pet |
tree |
chill |
circle |
fence |
$ 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
FAQs
A utility for managing AWS Console Sessions with Firefox Containers
We found that aws-coco demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.