ugurcemozturk / iamport

Import your new AWS IAM credentials without manual work.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import with iamport

forthebadge made-with-python GitHub license

iamport works no matter your operating system is; Import your external configurations and credentials without extra manual work. It has been built to import AWS IAM configuration by latest downloaded CSV file but should and will be cloud agnostic.

Installation

git clone https://github.com/ugurcemozturk/iamport
pip install -r requirements.txt

Usage

Simply import your new IAM user credentials from the latest downloaded CSV to AWS config file, assumed at home folder, ~/.aws/credentials

$ python iamport.py --provider aws

TO-DO

  • Add Azure
  • Add GCP
  • Override csv path by parameter
  • Override .aws config path by parameter
  • Option for file writing, just print to console

Flow

sequenceDiagram
Iamport ->> OS: Gimme /Downloads path
OS->>Iamport: It's ~/Downloads(i.e.)
Iamport-> Downloads: Gimme latest .csv file
Downloads->> Iamport: Here is the config file: 'iam-profile-name.csv'
Iamport->> AWS Config: Convert csv to TOML and save to ~/.aws/credentials (i.e.)

About

Import your new AWS IAM credentials without manual work.


Languages

Language:Python 100.0%