https://github.com/m-thirumal/aws-iam-user
Creating AWS IAM programmatic user using (Lambda function)
https://github.com/m-thirumal/aws-iam-user
access-keys aws-s3 iam iam-policy iam-role iam-user lambda-functions secret-key
Last synced: 4 months ago
JSON representation
Creating AWS IAM programmatic user using (Lambda function)
- Host: GitHub
- URL: https://github.com/m-thirumal/aws-iam-user
- Owner: m-thirumal
- Created: 2021-10-20T13:41:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T09:46:27.000Z (over 3 years ago)
- Last Synced: 2025-04-02T22:24:30.274Z (7 months ago)
- Topics: access-keys, aws-s3, iam, iam-policy, iam-role, iam-user, lambda-functions, secret-key
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AWS IAM USER


Create `programmatic user` using `lambda` function
1. Create `User`
2. Create `Policy`
3. Attach `policy to the user`
4. Create `access key` and `secret key`
#### Policy defined
* Gives `read and write` permission to the `specific folder` in `S3` bucket
#### USAGE
Invoke the lambda with following json input
```json line
{
"AccountId": "65476567567",
"UserName": "NEWIAMUSER",
"PolicyName": "NEWPOLICY",
"BucketName": "bucket_name",
"FolderName": "FOLDERNAME",
"PolicyARN": [
"arn:aws:iam::76576587587:policy/app1"
]
}
```
## Deploy
chalice deploy --connection-timeout 120