Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Manage credentials for multiple AWS accounts

Project Description


Command line tool to store credentials for multiple AWS accounts and quickly switch between them.


To install using pip:

pip install aws-identity-manager

Or download the latest release and install by running:

python install


Start the interactive command line tool:


Then use the following commands:

  • save Save credentials (if any) found in your existing config files for later use
  • add Allows you to add a new set of credentials (identity)
  • edit Make changes to existing identity
  • change Select one of your stored identies and modifies (or creates) the configuration files for most AWS client libraries
  • import Import identities from a csv file downloaded from the IAM Console (created whenever you add new users)

Additional Info

All of the credentials are saved by default in your home directory:


The scripts are designed to keep the permissions of this as well as the modified config files secured and only accessible to the current user. Before any changes are made to any existing AWS config files, they are backed up:


This is only done if the backup filename doesn’t already exist though. In other words, it would be a good idea to have your credentials somewhere safe before running the script.

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(10.7 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Mar 17, 2016
(9.2 kB) Copy SHA256 Hash SHA256
Source None Mar 17, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers