
Answer-first summary for fast verification
Answer: codecommit:CreateBranch
The correct IAM permissions needed to create and delete branches in AWS CodeCommit, while adhering to the principle of least privilege, are 'codecommit:CreateBranch' and 'codecommit:DeleteBranch'. These permissions allow the user to specifically perform the actions required without granting broader access than necessary. Therefore, the correct answer is option A.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer using SSH to access AWS CodeCommit requires permissions to create and delete branches. What IAM permissions should be granted to adhere to the principle of least privilege?
A
codecommit:CreateBranch
B
codecommit:Put*
C
codecommit:Update*
D
codecommit:*
No comments yet.