Skip to content

AWS CodeCommit Give Single User Access

Jason Lewis edited this page Nov 18, 2020 · 2 revisions

NOTE: These instructions will give a user full access to all CodeCommit repositories in the account. You can also create more granular policies to control what repositories they can access, what operations they can perform, etc.

  1. Login into your AWS Console with either root access or a user with full access to manage users and policies.
  2. Navigate to the IAM page.
  3. Find the user you would like give access to CodeCommit.
  4. Click on the user.
  5. Select the Permissions tab.
  6. Click the Add Permissions button.
  7. Click on Attach Existing Policies Directly.
  8. In the Search box, enter CodeCommit.
  9. Add a check next to AWSCodeCommitFullAccess or AWSCodeCommitPowerUser. NOTE: AWSCodeCommitFullAccess allows user to do everything to do with CodeCommit including adding and deleting repositories. AWSCodeCommitPowerUser allows them to do everthing except adding and deleting repositories.
  10. Click Next: Review.
  11. Click Add Permissions.
  12. Select the Security Credentials tab.
  13. Under HTTPS Git Credentials for AWS CodeCommit, click the Generate Credentials button.
  14. Record the generated credentials as these are what will be used to access CodeCommit through GIT (not the user login).
Clone this wiki locally