this script is for :
create bucket
create user + access\seceret key
create user policy with read only permission for the s3 bucket
its works with 3 args :
usage :
iam-s3.py "bucket-name" "username" "action"
create bucket and create user + access\seceret key + user policy with read only permission for s3 bucket
Python