1 Answer
- Newest
- Most votes
- Most comments
1
You can try these steps as basic overview:
- Create an Amazon Cognito Identity Pool and configure it to allow authenticated identities.
❓ This will allow you to obtain temporary AWS credentials for authenticated users (students in this case).
❓ This role will be assumed by the temporary credentials obtained from the Cognito Identity Pool.
- In the Cognito Identity Pool configuration, associate the IAM role created in the previous step with the authenticated identities.
- In your application code, use the AWS SDK to create a CodeCommit repository for each student.
Additional Steps for Step 4:
- Obtain temporary AWS credentials for an authenticated identity from the Amazon Cognito Identity Pool.
- Use the AWS SDK and the temporary credentials to create a new CodeCommit repository for the student.
- Configure repository permissions to allow access only for the authenticated identity associated with the student.
Relevant content
- asked a year ago
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago