Skip to content

GenerateNU/shiperate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate's Shipping Repository

Shiperate CLI

AWS Functionality

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}

Standard S3 Bucket IAM Creation Policy + Console Creation

  1. First create an S3 Bucket for a team using the command below
$ python3 cli.py aws s3 --bucket-name {bucket_name} --operation create-bucket
  1. Next create an IAM role for the given team
$ python3 cli.py aws iam --operation create-role --role-name {role_name}
  1. 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}
  1. Optional create an IAM login for the TLs for console access

using scripts

source cli/aliases.sh cd cli/

  1. Create user (call create_iam_account and then create_iam_user)

  2. Create bucket (call create_bucket)

  3. Attach S3 permissions (call add_s3_permissions)

About

Generate's Shipping CLI Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •