Create programmatic user
using lambda
function
- Create
User
- Create
Policy
- Attach
policy to the user
- Create
access key
andsecret key
- Gives
read and write
permission to thespecific folder
inS3
bucket
Invoke the lambda with following json input
{
"AccountId": "65476567567",
"UserName": "NEWIAMUSER",
"PolicyName": "NEWPOLICY",
"BucketName": "bucket_name",
"FolderName": "FOLDERNAME",
"PolicyARN": [
"arn:aws:iam::76576587587:policy/app1"
]
}
chalice deploy --connection-timeout 120