Commands to create, delete, and update IAM Roles for each team. Current support for s3 and iam roles.
$ python3 cli.py aws
usage: cli.py aws [-h] {s3,iam} ...
positional arguments:
{s3,iam}- First create an S3 Bucket for a team using the command below
$ python3 cli.py aws s3 --bucket-name {bucket_name} --operation create-bucket- Next create an IAM role for the given team
$ python3 cli.py aws iam --operation create-role --role-name {role_name}- Finally attach the necessary permissions for the given IAM role
$ python3 cli.py aws iam --operation add-s3-permissions --role-name {role_name} --bucket-name {bucket-name}- Optional create an IAM login for the TLs for console access
source cli/aliases.sh cd cli/
-
Create user (call create_iam_account and then create_iam_user)
-
Create bucket (call create_bucket)
-
Attach S3 permissions (call add_s3_permissions)