This util allows you to switch default AWS CLI profile
Project description
AWS Profile Switcher
The tool which allows you to jump between your profiles in your ~/.aws/credentials
Problematics
Well, if you are operating only one AWS account then you will not find this util useful. Problem appears when there are more than 3 accounts under your control. Sure, you can use --profile
flag with any your aws cli command. But what if you need to run number of commands for several accounts, then make sure you don't forget to add --profile
to your command or specified the right profile name.
Another example is about Hasicorp Terraform. Let's imagine that you have one module which you need to apply for several accounts. Unfortunately, terraform doesn't allow you to specify --profile
and that's logically since Terraform is not about AWS. So, you will need to hardcode your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or go to ~/.aws/credentials
and change the [default]
profile.
How to install
That's easy just run
sudo pip install aws-profile-switcher
Or clone
this repository and run
make install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws-profile-switcher-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 424ffcef40e1998a8d4c1c6a519cea115b326d92150341135e2ab488f102684f |
|
MD5 | 4e3a6549cd3cb6ed5d45e1b3ffa0acf4 |
|
BLAKE2b-256 | f132dbd839f0e84808bdb303b38cd5fbc479b4dcab355ce67363539991f8fdfa |
Hashes for aws_profile_switcher-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6738d2282791dff52291777f265a84c26b97b247ccdbe4ec357b02455d30de6d |
|
MD5 | ddffdd7476b49d062907848fc1494ec6 |
|
BLAKE2b-256 | c3e7e5de92288767ab83f05a8b99a34c30428fe0b92561d790504b41f23d3ffb |